-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 1014 Bytes
/
.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
{
"env": {
"es2021": true,
"node": true,
"jest": true
},
"extends": ["airbnb-base", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"no-console": "off",
"import/extensions": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"class-methods-use-this": "off",
"max-classes-per-file": "off",
"no-await-in-loop": "off",
"import/no-extraneous-dependencies": "off",
"no-shadow": "off",
"no-plusplus": "off",
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/indent": [
"error",
2
],
"@typescript-eslint/no-unused-vars": "error",
"no-unused-vars": "off",
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error",
"no-trailing-spaces": "error"
}
}