-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
84 lines (84 loc) · 2.03 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"env": {
"browser": true,
"commonjs": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:jest/recommended",
"plugin:@typescript-eslint/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"rules": {
"class-methods-use-this": "off",
"comma-dangle": "off",
"dot-notation": "off",
"global-require": "off",
"function-paren-newline": ["error", "never"],
"import/extensions": "off",
"indent": [
"error",
4
],
"import/no-extraneous-dependencies": "off",
"import/no-import-module-exports": "off",
"import/no-unresolved": "off",
"import/order": [
"error",
{
"alphabetize": {
"order": "asc",
"caseInsensitive": false
},
"newlines-between": "always"
}
],
"import/prefer-default-export": "off",
"jest/no-standalone-expect": "off",
"linebreak-style": 0,
"lines-between-class-members": "off",
"max-len": [
"warn",
140
],
"no-console": "off",
"no-multi-assign": "off",
"no-param-reassign": "off",
"no-prototype-builtins": "off",
"no-plusplus": "off",
"no-return-await": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "off",
"no-useless-constructor": "off",
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "always"],
"radix": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".ts"
]
}
}
}
}