-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
64 lines (63 loc) · 1.57 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
56
57
58
59
60
61
62
63
64
{
"env": {
"es6": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"security"
],
"extends": [
"airbnb",
"@hapi/eslint-config-hapi",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:security/recommended"
],
"rules": {
"indent": ["error", 4],
"import/no-unresolved": "off",
"@hapi/hapi/for-loop": "off",
"no-await-in-loop": "off",
"array-callback-return": "off",
"import/extensions": "off",
"max-len": "warn",
"require-await": "off",
"guard-for-in": "off",
"no-restricted-syntax": "off",
"@typescript-eslint/ban-types": "warn",
"no-plusplus": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "warn",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"func-style": "off",
"@hapi/hapi/scope-start": "off",
"no-return-await": "off",
"no-shadow": "off",
"global-require": "off",
"newline-per-chained-call": "off",
"@typescript-eslint/no-shadow": ["error"],
"max-classes-per-file": ["error", 2],
"no-new": 0,
"comma-dangle": [
"error",
{
"arrays": "never",
"objects": "always",
"imports": "always",
"exports": "always",
"functions": "never"
}
]
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
}
}