-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.ng.json
46 lines (44 loc) · 1.42 KB
/
.eslintrc.ng.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"extends": [
"@digita-ai/eslint-config"
],
"overrides": [
{
"files": ["*.ts", "*.js"],
"extends": [
"@digita-ai/eslint-config",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@typescript-eslint/ban-types": "off", // should be remedied
"@typescript-eslint/no-var-requires": "off", // should be remedied
"@typescript-eslint/no-empty-function": "off", // should be remedied
"@typescript-eslint/no-empty-interface": "off", // should be remedied
"@angular-eslint/no-empty-lifecycle-method": "off", // should be remedied
"@angular-eslint/no-output-native": "off", // should be remedied
"@angular-eslint/component-class-suffix": "error",
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "dgt",
"style": "kebab-case"
}
],
"@angular-eslint/directive-class-suffix": "error",
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "dgt",
"style": "camelCase"
}
],
"@angular-eslint/no-input-rename": "error",
"@angular-eslint/no-output-rename": "error",
"@angular-eslint/use-pipe-transform-interface": "error"
}
}
]
}