-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
41 lines (41 loc) · 1.1 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
{
"env": {
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"airbnb-base"
],
"ignorePatterns":["node_modules/"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"camelcase":"off",
"no-unused-vars":"off",
"@typescript-eslint/no-unused-vars":"off",
"no-redeclare":"off",
"eqeqeq":"warn",
"new-cap":"off",
"brace-style":[
"error","stroustrup",{ "allowSingleLine": true }
],
"import/no-unresolved":"off",
"import/extensions":"off",
"max-len":"off",
"no-restricted-syntax":"off",
"semi":["error","never"],
"comma-dangle":["error","only-multiline"],
"lines-between-class-members":"off",
"no-param-reassign":"off",
"consistent-return":"off",
"object-curly-newline":["error",{ "multiline": true }]
}
}