-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
63 lines (63 loc) · 1.64 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
{
"env": {
"commonjs": true,
"es2021": true,
"jest": true
},
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"eslint:recommended",
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"use": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"consistent-return": "off",
"max-len": "off",
"@typescript-eslint/no-shadow": "off",
"no-await-in-loop": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-plusplus": "off",
"no-console": "off",
"import/prefer-default-export": "off",
"@typescript-eslint/naming-convention": "off",
"no-continue": "off",
"no-restricted-syntax": "off",
"@typescript-eslint/no-unused-expressions": "off",
"comma-dangle": 0,
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"camelcase": "off",
"eol-last": 2,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"no-unused-vars": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-types": "off",
"no-useless-escape": "off",
"default-case": "off",
"max-lines-per-function": ["error", { "max": 25 }]
},
"overrides": [
{
"files": ["./src/modules/**/*_test.ts"],
"rules": {
"max-lines-per-function": ["off"]
}
}
]
}