mirror of
https://git.zavage.net/Zavage-Software/skrill-frontend.git
synced 2025-01-18 00:37:52 -07:00
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"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"]
|
|
}
|
|
]
|
|
}
|