-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc.json
55 lines (55 loc) · 1.56 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
55
{
"env": {
"node": true,
"commonjs": true
},
"extends": [
"eslint:recommended",
"airbnb-base",
"airbnb-typescript/base",
"plugin:unicorn/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"unicorn",
"import",
"prefer-arrow-functions"
],
"parserOptions": {
"project": "tsconfig.eslint.json"
},
"rules": {
"@typescript-eslint/lines-between-class-members": "off",
"unicorn/no-array-reduce": "off",
"no-continue": "off",
"no-restricted-syntax": "off",
"unicorn/prefer-node-protocol": "off",
"class-methods-use-this": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/prefer-default-export": "off",
"comma-dangle": ["error", "always-multiline"],
"indent": "off",
"@typescript-eslint/indent": ["error", 4],
"max-len": ["error", 140],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/prefer-optional-chain": "error",
"prefer-arrow-functions/prefer-arrow-functions": ["error"],
"unicorn/prevent-abbreviations": "off",
"newline-after-var": "error",
"newline-before-return": "error",
"no-plusplus": "off",
"unicorn/import-style": "off",
"@typescript-eslint/no-var-requires": "off",
"no-underscore-dangle": ["error", {
"allowAfterThis": true,
"allowAfterSuper": false
}],
"unicorn/no-null": "off",
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true
}],
"import/no-cycle": "off"
}
}