48 lines
1009 B
JSON
48 lines
1009 B
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": ["!**/*"],
|
|
"plugins": ["@nx"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"extends": ["plugin:@nx/typescript"],
|
|
"rules": {}
|
|
},
|
|
{
|
|
"files": ["*.js", "*.jsx"],
|
|
"extends": ["plugin:@nx/javascript"],
|
|
"rules": {}
|
|
},
|
|
{
|
|
"files": ["*.ts"],
|
|
"extends": [
|
|
"plugin:@nx/angular",
|
|
"plugin:@angular-eslint/template/process-inline-templates"
|
|
],
|
|
"rules": {
|
|
"@angular-eslint/directive-selector": [
|
|
"error",
|
|
{
|
|
"type": "attribute",
|
|
"prefix": "webClient",
|
|
"style": "camelCase"
|
|
}
|
|
],
|
|
"@angular-eslint/component-selector": [
|
|
"error",
|
|
{
|
|
"type": "element",
|
|
"prefix": "web-app",
|
|
"style": "kebab-case"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.html"],
|
|
"extends": ["plugin:@nx/angular-template"],
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|