-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
61 lines (61 loc) · 1.6 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
module.exports = {
"parser": "@typescript-eslint/parser",
"plugins": [
"typescript",
"security",
"promise",
"jest",
"sonarjs",
],
"extends": [
"airbnb-base",
"plugin:you-dont-need-lodash-underscore/compatible",
"plugin:security/recommended",
"plugin:promise/recommended",
"plugin:jest/recommended",
"plugin:node/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:sonarjs/recommended",
"plugin:unicorn/recommended"
],
"env": {
"node": true,
"jest/globals": true,
},
"rules": {
"node/no-unsupported-features/es-syntax": 'off',
"eslint/no-use-before-define": 'off',
"node/no-unpublished-require": 'off',
"eslint/no-unused-vars": 'off',
"import/no-unresolved": 'off',
"import/prefer-default-export": 'off',
"node/no-missing-import": 'off',
},
"overrides": [
{
"files": ["*.ts"],
"rules": {
"no-unused-vars": "off",
"no-undef": "off",
"operator-linebreak": "off",
"camelcase": "off",
"no-restricted-syntax": "off",
"no-param-reassign": "off",
"security/detect-object-injection": "off",
"no-multi-spaces": "off",
"no-await-in-loop": "off",
"key-spacing": "off",
"sonarjs/no-duplicate-string": "off",
"jest/no-disabled-tests": "off",
"semi-style": "off",
"jest/valid-expect": "off",
"no-bitwise": "off",
"no-prototype-builtins": "off",
"no-continue": "off",
"max-len": "off",
"unicorn/prevent-abbreviations": "off",
}
}
]
};