public-gateway-cacher/.eslintrc.json

56 lines
1.1 KiB
JSON
Raw Normal View History

2022-03-10 21:57:15 +00:00
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
2022-03-11 02:44:37 +00:00
"plugin:@angular-eslint/all",
2022-03-10 21:57:15 +00:00
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "app",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "app",
"style": "kebab-case"
}
]
2022-03-11 02:44:37 +00:00
// Custom rules
2022-03-10 21:57:15 +00:00
}
},
{
"files": [
"*.html"
],
"extends": [
2022-03-11 02:44:37 +00:00
"plugin:@angular-eslint/template/all"
2022-03-10 21:57:15 +00:00
],
2022-03-11 02:44:37 +00:00
"rules": {
// Custom rules
"@angular-eslint/template/i18n": "off"
}
2022-03-10 21:57:15 +00:00
}
]
}