-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (32 loc) · 1.26 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"extends": "marine/prettier",
"plugins": ["@angular-eslint"],
"rules": {
"@typescript-eslint/no-extraneous-class": 0,
"@angular-eslint/component-class-suffix": "error",
"@angular-eslint/contextual-lifecycle": "error",
"@angular-eslint/directive-selector": ["error", { "type": "attribute", "prefix": "codenames", "style": "camelCase" }],
"@angular-eslint/component-selector": ["error", { "type": "element", "prefix": "codenames", "style": "kebab-case" }],
"@angular-eslint/no-conflicting-lifecycle": "error",
"@angular-eslint/no-host-metadata-property": "error",
"@angular-eslint/no-input-rename": "error",
"@angular-eslint/no-inputs-metadata-property": "error",
"@angular-eslint/no-output-native": "error",
"@angular-eslint/no-output-on-prefix": "error",
"@angular-eslint/no-output-rename": "error",
"@angular-eslint/no-outputs-metadata-property": "error",
"@angular-eslint/use-lifecycle-interface": "warn",
"@angular-eslint/use-pipe-transform-interface": "error"
},
"overrides": [
{
"files": ["*.component.html"],
"parser": "@angular-eslint/template-parser",
"plugins": ["@angular-eslint/template"],
"rules": {
"@angular-eslint/template/banana-in-a-box": "error",
"@angular-eslint/template/no-negated-async": "error"
}
}
]
}