forked from eleme/thrift-parser
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
50 lines (50 loc) · 1.63 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"rules": {
"no-with": [ 2 ],
"no-eval": [ 2 ],
"no-octal-escape": [ 2 ],
"no-shadow-restricted-names": [ 2 ],
"valid-typeof": [ 2 ],
"no-caller": [ 2 ],
"no-extend-native": [ 2 ],
"no-console": [ 1 ],
"no-debugger": [ 1 ],
"indent": [ 1, 2, { "SwitchCase": 1 } ],
"quotes": [ 1, "single" ],
"linebreak-style": [ 1, "unix" ],
"semi": [ 1, "always" ],
"semi-spacing": [ 1 ],
"one-var": [ 1, { "initialized": "never" } ],
"no-multi-spaces": [ 1 ],
"no-empty": [ 1 ],
"space-infix-ops": [ 1 ],
"comma-spacing": [ 1 ],
"spaced-comment": [ 1, "always", { "exceptions": [ "*" ] } ],
"no-unneeded-ternary": [ 1 ],
"no-useless-call": [ 1 ],
"block-scoped-var": [ 1 ],
"comma-dangle": [ 1, "never" ],
"comma-style": [ 1, "last" ],
"space-in-parens": [ 1 ],
"space-before-keywords": [ 1 ],
"space-after-keywords": [ 1 ],
"arrow-spacing": [ 1 ],
"space-unary-ops": [ 1 ],
"space-return-throw-case": [ 1 ],
"new-parens": [ 1 ],
"key-spacing": [ 1 ],
"eqeqeq": [ 1 ],
"eol-last": [ 1 ],
"dot-location": [ 1, "property" ],
"func-style": [ 1, "expression" ],
"no-lone-blocks": [ 1 ],
"no-native-reassign": [ 1 ],
"no-nested-ternary": [ 1 ],
"no-fallthrough": [ 1 ],
"no-unused-vars": [ 0 ],
"no-ex-assign": [ 0 ],
"no-cond-assign": [ 0 ]
},
"env": { "es6": true, "node": true },
"extends": "eslint:recommended"
}