forked from beeman/elusiv-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
69 lines (68 loc) · 1.82 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
62
63
64
65
66
67
68
69
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"import/no-unresolved": 0,
"import/extensions": 0,
"max-len": 0,
"no-plusplus": 0,
"no-restricted-syntax": 0,
"no-empty-function": 1,
"no-param-reassign": 1,
"no-await-in-loop": 1,
"no-use-before-define": 0,
"import/prefer-default-export": 0,
"no-undef": 0,
"no-bitwise": 0,
"indent": "off",
"@typescript-eslint/indent": [
"error"
],
"brace-style": [
"error",
"stroustrup"
],
"prefer-destructuring": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/test/**/**.ts"
],
"optionalDependencies": false,
"peerDependencies": false
}
],
// Glitchy in typescript, use the typescript version
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"]
},
"overrides": [
{
"files": "**/test/**/**.ts",
"rules": {
"dot-notation": 0,
"no-loop-func": "off",
"no-unused-expressions": "off",
"func-names": "off",
"@typescript-eslint/no-var-requires": "off",
"import/no-extraneous-dependencies": "off"
}
}
]
}