forked from r-spacex/SpaceX-API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 951 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
{
"plugins": [
"security"
],
"env": {
"node": true,
"jest": true,
"mongo": true
},
"extends": [
"plugin:security/recommended",
"airbnb"
],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018,
"impliedStrict": true
},
"rules": {
"no-console":0,
"space-infix-ops": "error",
"prefer-destructuring": 0,
"eol-last": ["error", "always"],
"prefer-arrow-callback": "error",
"padded-blocks": ["error", "never"],
"space-before-blocks": "error",
"arrow-spacing": "error",
"space-in-parens": ["error", "never"],
"keyword-spacing": ["error", { "before": true }],
"spaced-comment": ["error", "always", { "exceptions": ["-", "+"] }],
"arrow-body-style": 0,
"class-methods-use-this": 0,
"security/detect-object-injection" : 0
}
}