-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
38 lines (38 loc) · 1.06 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
{
"env": {
"es2021": true,
"node": true,
"jest/globals": true,
"browser": true
},
"globals": {
"VERSION": "readonly",
"BACKEND_API_URL": "readonly"
},
"extends": [
"airbnb-base",
"airbnb-typescript/base"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"jest"
],
"rules": {
"class-methods-use-this": 0,
"max-len": ["error", { "code": 135 }],
"@typescript-eslint/no-use-before-define": ["error", { "functions": false}],
"object-curly-newline": ["error", {"ObjectPattern": "never"}],
"dot-notation": "off",
"@typescript-eslint/dot-notation": "off",
"no-bitwise": "off",
"no-restricted-syntax": ["error", "BinaryExpression[operator='in']"],
"no-param-reassign": ["error", { "props": false }],
"no-underscore-dangle": "off"
}
}