-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc.json
41 lines (41 loc) · 1000 Bytes
/
.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
{
"extends": ["eslint-config-atomic"],
"ignorePatterns": ["build/", "node_modules/"],
"rules": {
"no-eq-null": "warn",
"eqeqeq": "warn",
"no-empty-function": "warn",
"class-methods-use-this": "warn",
"default-case": "warn",
"no-new": "warn",
"no-shadow": "off",
"@typescript-eslint/no-shadow": "warn",
"no-invalid-this": "warn",
"require-await": "warn",
"no-useless-constructor": "warn",
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"object": false
}
}
],
"@typescript-eslint/explicit-module-boundary-types": [
"error",
{
"allowArgumentsExplicitlyTypedAsAny": true
}
],
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"no-console": "error"
}
}