8 Star 45 Fork 4

OI 开源/VISLite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 615 Bytes
一键复制 编辑 原始数据 按行查看 历史
module.exports = {
//定义ESLint的解析器
parser: '@typescript-eslint/parser',
//定义文件继承的子规范
extends: ['plugin:@typescript-eslint/recommended'],
//定义了该eslint文件所依赖的插件
plugins: ['@typescript-eslint'],
//指定代码的运行环境
env: {
browser: true,
node: false
},
// 设置规则
rules: {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-this-alias": ["error", {
"allowedNames": ["_this"]
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/oi-contrib/VISLite.git
git@gitee.com:oi-contrib/VISLite.git
oi-contrib
VISLite
VISLite
master

搜索帮助

Cb406eda 1850385 E526c682 1850385