-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
61 lines (61 loc) · 1.64 KB
/
.eslintrc.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"extends": "../../.eslintrc.json",
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts"],
"parserOptions": {
"project": ["apps/testing-sandbox/tsconfig.*?.json"]
},
"plugins": ["eslint-plugin-rxjs"],
"rules": {
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "plopdown",
"style": "kebab-case"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "plopdown",
"style": "camelCase"
}
],
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"id-blacklist": "off",
"id-match": "off",
"no-underscore-dangle": "off",
"rxjs/no-ignored-replay-buffer": "error",
"rxjs/no-index": "error",
"rxjs/no-internal": "error",
"rxjs/no-nested-subscribe": "error",
"rxjs/no-subject-unsubscribe": "error",
"rxjs/no-subject-value": "error",
"rxjs/no-unbound-methods": "error"
},
"extends": [
"plugin:@nrwl/nx/angular",
"plugin:@angular-eslint/template/process-inline-templates"
]
},
{
"files": ["*.html"],
"rules": {},
"extends": [
"plugin:@nrwl/nx/angular-template",
"plugin:@angular-eslint/template/recommended"
]
}
]
}