skrill-frontend/.eslintrc.json

38 lines
1.0 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"],
2024-07-28 03:04:23 -06:00
"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" }]
2024-07-28 03:04:23 -06:00
}
},
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"]
},
{
"files": ["*.component.ts"],
"extends": ["plugin:@angular-eslint/template/process-inline-templates"]
}
]
}