mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-04 20:58:01 +08:00
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
|
{
|
||
|
"root": true,
|
||
|
"ignorePatterns": [
|
||
|
"app/**/*", // ignore nodeJs files
|
||
|
"dist/**/*",
|
||
|
"release/**/*"
|
||
|
],
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": [
|
||
|
"*.ts"
|
||
|
],
|
||
|
"parserOptions": {
|
||
|
"project": [
|
||
|
"./tsconfig.serve.json",
|
||
|
"./src/tsconfig.app.json",
|
||
|
"./src/tsconfig.spec.json",
|
||
|
"./e2e/tsconfig.e2e.json"
|
||
|
],
|
||
|
"createDefaultProgram": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"plugin:@angular-eslint/ng-cli-compat",
|
||
|
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
|
||
|
"plugin:@angular-eslint/template/process-inline-templates"
|
||
|
],
|
||
|
"rules": {
|
||
|
"prefer-arrow/prefer-arrow-functions": 0,
|
||
|
"@angular-eslint/directive-selector": 0,
|
||
|
"@angular-eslint/component-selector": [
|
||
|
"error",
|
||
|
{
|
||
|
"type": "element",
|
||
|
"prefix": "eo",
|
||
|
"style": "kebab-case"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"files": [
|
||
|
"*.html"
|
||
|
],
|
||
|
"extends": [
|
||
|
"plugin:@angular-eslint/template/recommended"
|
||
|
],
|
||
|
"rules": {
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|