4 Star 4 Fork 3

Gitee 极速下载/AI-Shell

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/BuilderIO/ai-shell
克隆/下载
.eslintrc.cjs 781 Bytes
一键复制 编辑 原始数据 按行查看 历史
Steve Sewell 提交于 2023-04-10 03:18 +08:00 . Add eslint
module.exports = {
env: {
es2021: true,
node: true,
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
overrides: [{ files: ['src/**/*.ts'] }],
plugins: ['@typescript-eslint', 'unused-imports'],
rules: {
'no-async-promise-executor': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': [
'warn',
{
vars: 'all',
varsIgnorePattern: '^_',
args: 'after-used',
argsIgnorePattern: '^_',
},
],
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/AI-Shell.git
git@gitee.com:mirrors/AI-Shell.git
mirrors
AI-Shell
AI-Shell
main

搜索帮助