-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc.json
54 lines (54 loc) · 1.4 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"env": {
"node": true,
"commonjs": true,
"es6": true,
"jquery": false,
"jest/globals": true
},
"extends": ["eslint:recommended", "prettier", "airbnb-base"],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2020,
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint", "jest"
],
"ignorePatterns": [
"**/*.test.ts",
"tests/**"
],
"rules": {
"quotes": ["warn", "double"],
"semi": ["error", "always"],
"max-len": ["off"],
"no-var": ["error"],
"no-unused-vars": ["off"],
"no-use-before-define": ["off"],
"no-useless-catch": ["off"],
"no-console": ["off"],
"no-plusplus": ["off"],
"no-restricted-syntax": ["off"],
"no-await-in-loop": ["off"],
"no-mixed-spaces-and-tabs": ["off"],
"no-promise-executor-return": ["off"],
"require-atomic-updates": ["off"],
"import/no-unresolved": ["off"],
"arrow-body-style": ["off"],
"camelcase": ["off"],
"no-underscore-dangle": ["off"],
"operator-linebreak": ["off"],
"object-curly-newline": ["off"],
"curly": ["off"],
"nonblock-statement-body-position": ["off"],
"class-methods-use-this": ["off"],
"consistent-return": ["off"],
"newIsCap": ["off"],
"no-param-reassign": ["off"],
"import/prefer-default-export": ["off"],
"import/extensions": ["off"]
}
}