-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
43 lines (43 loc) · 1009 Bytes
/
.eslintrc.js
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
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.eslint.json"],
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier/@typescript-eslint",
"prettier",
"plugin:prettier/recommended",
],
env: {
node: true,
},
rules: {
semi: ["error", "always"],
"@typescript-eslint/camelcase": "off",
"comma-dangle": ["error", "always-multiline"],
indent: ["off"],
"prettier/prettier": ["error"],
'lines-between-class-members': [
'off'
],
'max-params': [
'off'
],
'unicorn/no-abusive-eslint-disable': [ 'off' ],
},
overrides: [
{
files: ["*.test.ts"],
rules: {
"@typescript-eslint/unbound-method": 0,
"max-nested-callbacks": 0
},
},
]
};