-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
34 lines (34 loc) · 916 Bytes
/
.eslintrc
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
{
"extends": ["airbnb-base", "plugin:node/recommended", "plugin:jest/recommended"],
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"node",
"security"
],
"rules": {
"arrow-parens": "off",
"class-methods-use-this": "off",
"curly": ["error", "all"],
"indent": ["error", 2, {
"MemberExpression": 1,
"SwitchCase": 1
}],
"implicit-arrow-linebreak": "off",
"global-require": "off",
"no-param-reassign": ["error", { "props": false }],
"no-tabs": "off",
"no-use-before-define": "off",
"no-underscore-dangle": "off",
"object-curly-newline": ["error", { "consistent": true }],
"import/no-extraneous-dependencies": "off",
"import/no-dynamic-require": "off",
"security/detect-non-literal-require": "off",
"security/detect-non-literal-fs-filename": "off"
}
}