forked from alauda/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.33 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"extends": "@1stg/eslint-config/loose",
"parserOptions": {
"requireConfigFile": false
},
"overrides": [
{
"files": "*.ts",
"excludedFiles": [
"*.spec.ts",
"**/stories/**/*.ts"
],
"rules": {
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": [
"aui"
],
"style": "kebab-case"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": [
"aui"
],
"style": "camelCase"
}
]
}
},
{
"files": "*.spec.ts",
"rules": {
"@angular-eslint/prefer-on-push-component-change-detection": "off",
"@typescript-eslint/no-extraneous-class": "off",
"jest/expect-expect": "off",
"jest/no-export": "off",
"sonarjs/no-duplicate-string": "off"
}
}
],
"rules": {
"@angular-eslint/no-inputs-metadata-property": "off",
"@angular-eslint/no-output-native": "off",
"@angular-eslint/no-input-rename": "off",
"@angular-eslint/no-output-rename": "off",
"@angular-eslint/no-host-metadata-property": "off",
"@typescript-eslint/no-unsafe-argument": "off"
}
}