加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/akveo/nebular
克隆/下载
.eslintrc.json 2.01 KB
一键复制 编辑 原始数据 按行查看 历史
{
"root": true,
"ignorePatterns": [
"src/framework/**/*",
"docs/**/*",
"packages-smoke/**/*",
"tools/dev-schematics/*/files"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates",
"eslint-config-prettier"
],
"plugins": [
"eslint-plugin-rxjs"
],
"rules": {
"quotes": "off",
"dot-notation": "off",
"no-restricted-globals": [
"error",
"fit",
"fdescribe"
],
"@typescript-eslint/dot-notation": "error",
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
"no-underscore-dangle": "off",
"@typescript-eslint/consistent-type-definitions": "error",
"rxjs/no-unsafe-takeuntil": [
"error",
{
"allow": [
"count",
"defaultIfEmpty",
"endWith",
"every",
"finalize",
"finally",
"isEmpty",
"last",
"max",
"min",
"publish",
"publishBehavior",
"publishLast",
"publishReplay",
"reduce",
"share",
"shareReplay",
"skipLast",
"takeLast",
"throwIfEmpty",
"toArray"
]
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended",
"eslint-config-prettier"
],
"rules": {}
},
{
"files": [
"./*.js"
],
"parserOptions": {
"ecmaVersion": 11
},
"env": {
"node": true
}
}
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化