forked from Thuzi/facebook-node-sdk
-
Notifications
You must be signed in to change notification settings - Fork 115
/
.eslintrc.json
35 lines (35 loc) · 1.09 KB
/
.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
{
"root": true,
"env": {
"node": true,
"es6": true
},
"parser": "babel-eslint",
"rules": {
"array-bracket-spacing": [1, "never"],
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"comma-spacing": [1],
"comma-style": [1, "last"],
"computed-property-spacing": [1, "never"],
"eol-last": [1],
"indent": [2, "tab"],
"key-spacing": [1, {"beforeColon": false, "afterColon": true, "mode": "minimum"}],
"linebreak-style": [2, "unix"],
"no-spaced-func": [1],
"no-trailing-spaces": [1],
"no-unneeded-ternary": [2],
"object-curly-spacing": [1, "never"],
"prefer-arrow-callback": [1],
"quote-props": [2, "as-needed"],
"quotes": [1, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"semi": [2, "always"],
"spaced-comment": [2, "always"],
"keyword-spacing": [1, {"before": true, "after": true}],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, "never"],
"space-infix-ops": [1],
"space-unary-ops": [1],
"strict": [0, "global"]
},
"extends": "eslint:recommended"
}