-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
39 lines (39 loc) · 1.21 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
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"airbnb-base",
"airbnb-typescript/base"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"semi": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
"no-underscore-dangle": "off",
"global-require" : "off",
"no-promise-executor-return" : "off",
"import/prefer-default-export": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"max-len": "off",
"no-extra-boolean-cast": "off",
"@typescript-eslint/lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"class-methods-use-this": "off",
"no-param-reassign": "off",
"@typescript-eslint/no-use-before-define": "off",
"prefer-destructuring": "off"
}
}