-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
40 lines (40 loc) · 1007 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
37
38
39
40
{
"env": {
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"prettier",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"parser": "typescript"
}
],
"class-methods-use-this": "off",
"no-shadow": "off",
"no-param-reassign": "off",
"import/extensions": "off",
"no-restricted-syntax": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"no-useless-constructor": "off",
"@typescript-eslint/no-namespace": "off"
}
}