skrill-frontend/.eslintrc.json

47 lines
1.1 KiB
JSON
Raw Normal View History

2024-07-28 03:04:23 -06:00
{
"root": true,
"overrides": [
{
"files": ["*.js"],
"parserOptions": {
"ecmaVersion": 2018
}
},
{
"files": ["*.ts"],
"parserOptions": {
"project": ["tsconfig.*?.json"],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@angular-eslint/component-class-suffix": [
"error",
{
"suffixes": ["Component", "Page"]
}
],
"@angular-eslint/directive-selector": [
"error",
{ "type": "attribute", "prefix": "app", "style": "camelCase" }
],
"@angular-eslint/component-selector": [
"error",
{ "type": "element", "prefix": "app", "style": "kebab-case" }
]
}
},
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"]
},
{
"files": ["*.component.ts"],
"extends": ["plugin:@angular-eslint/template/process-inline-templates"]
}
]
}