-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc.json
67 lines (67 loc) · 1.75 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
56
57
58
59
60
61
62
63
64
65
66
67
{
"root": true,
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:jsdoc/recommended",
"plugin:node/recommended",
"google",
"nodejs"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"],
"ecmaVersion": 12,
"ecmaFeatures": {
"arrowFunctions": true
}
},
"plugins": [
"@typescript-eslint/eslint-plugin",
"eslint-plugin-jsdoc",
"eslint-plugin-import",
"eslint-plugin-node",
"eslint-plugin-promise"
],
"settings": {
"node": {
"tryExtensions": [".js", ".json", ".node", ".ts", ".d.ts"]
}
},
"rules": {
"linebreak-style": "off",
"new-cap": "off",
"arrow-parens": "off",
"camelcase": "off",
"node/no-unsupported-features/es-syntax": "off",
"space-before-function-paren": "off",
"max-len": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off",
"indent": "off",
"strict": "off",
"valid-jsdoc": "off",
"node/no-missing-import": "off",
"object-curly-spacing": "off",
"semi": "off",
"no-dupe-class-members": "off",
"@typescript-eslint/no-dupe-class-members": ["error"],
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": ["error"],
"node/no-unsupported-features/node-builtins": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"no-void": ["error", { "allowAsStatement": true }],
"@typescript-eslint/no-empty-interface": [
"error",
{
"allowSingleExtends": true
}
]
}
}