-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
48 lines (48 loc) · 1.14 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
{
"extends": [
"@open-wc/eslint-config",
"@tpluscode"
],
"env": {
"browser": true
},
"parserOptions": {
"project": "./tsconfig.json"
},
"settings": {
"import/core-modules": [ "@captaincodeman/rdx" ]
},
"rules": {
"import/no-extraneous-dependencies": ["error", {"devDependencies": [
"**/test/**",
"**/demo/**",
"packages/core-tests/**"
]}],
"no-shadow": "off",
"max-len": ["error", 200],
"wc/guard-super-call": "off",
"class-methods-use-this": "off",
"no-param-reassign": ["error", { "props": false }],
"@typescript-eslint/no-explicit-any": "off",
"lit/no-classfield-shadowing": "warn"
},
"overrides": [{
"files": "**/test/**/*.ts",
"rules": {
"no-unused-expressions": "warn",
"babel/no-unused-expressions": "off",
"lit-a11y/accessible-name": "off"
}
},{
"files": "packages/core-tests/**/*.ts",
"rules": {
"no-unused-expressions": "warn",
"babel/no-unused-expressions": "off"
}
}, {
"files": "packages/core/lib/components/*.ts",
"rules": {
"@typescript-eslint/no-empty-interface": "off"
}
}]
}