forked from zoitec/cnn-content-retriever
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 1.54 KB
/
.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
35
36
{
"extends": "eslint:recommended",
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"array-bracket-spacing": [2, "never"],
"arrow-parens": [2, "always"],
"arrow-spacing": [2, {"before": true, "after": true}],
"brace-style": [2, "1tbs", {"allowSingleLine": false}],
"comma-spacing": [2, {"before": false, "after": true}],
"curly": [2, "all"],
"indent": [2, 4, {"SwitchCase": 1, "VariableDeclarator": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": 2,
"linebreak-style": [2, "unix"],
"no-console": 0,
"no-fallthrough": 0,
"no-trailing-spaces": 2,
"object-curly-spacing": [2, "never"],
"one-var": [2, "always"],
"prefer-template": 2,
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"spaced-comment": [2, "always"],
"space-infix-ops": [2, {"int32Hint": false}]
}
}