forked from carmenfan/all-reviewers-approved
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
36 lines (36 loc) · 929 Bytes
/
.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
{
"extends": [
"airbnb-base",
"plugin:node/recommended",
"plugin:security/recommended"
],
"parserOptions": {
"ecmaVersion": 2020
},
"plugins": [
"require-sort"
],
"env": {
},
"rules": {
"import/order": 0,
"require-sort/require-sort": "error",
"no-console": 0,
"arrow-parens": ["error", "always"],
"indent": ["error", "tab"],
"no-plusplus" : 0,
"no-tabs": ["error", {"allowIndentationTabs": true}],
"object-curly-newline": 0,
"max-len": ["error", {
"code": 120,
"ignoreComments": true,
"ignoreTemplateLiterals": true,
"ignoreStrings": true
}],
"no-throw-literal": 0,
"no-restricted-syntax": 0,
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
"security/detect-non-literal-fs-filename": 0,
"security/detect-object-injection": 0
}
}