1+ {
2+ "extends" : " eslint:recommended" ,
3+ "env" : {
4+ "node" : true ,
5+ "es6" : true
6+ },
7+ "parserOptions" : {
8+ "sourceType" : " module" ,
9+ "ecmaVersion" : " latest"
10+ },
11+ "rules" : {
12+ "arrow-spacing" : [" warn" , { "before" : true , "after" : true }],
13+ "brace-style" : [" error" , " stroustrup" , { "allowSingleLine" : true }],
14+ "comma-dangle" : [" error" , " always-multiline" ],
15+ "comma-spacing" : " error" ,
16+ "comma-style" : " error" ,
17+ "curly" : [" error" , " multi-line" , " consistent" ],
18+ "dot-location" : [" error" , " property" ],
19+ "handle-callback-err" : " off" ,
20+ "indent" : [" error" , " tab" ],
21+ "keyword-spacing" : " error" ,
22+ "max-nested-callbacks" : [" error" , { "max" : 4 }],
23+ "max-statements-per-line" : [" error" , { "max" : 2 }],
24+ "no-console" : " off" ,
25+ "no-empty-function" : " error" ,
26+ "no-floating-decimal" : " error" ,
27+ "no-inline-comments" : " error" ,
28+ "no-lonely-if" : " error" ,
29+ "no-multi-spaces" : " error" ,
30+ "no-multiple-empty-lines" : [
31+ " error" ,
32+ { "max" : 2 , "maxEOF" : 1 , "maxBOF" : 0 }
33+ ],
34+ "no-shadow" : [" error" , { "allow" : [" err" , " resolve" , " reject" ] }],
35+ "no-trailing-spaces" : [" error" ],
36+ "no-var" : " error" ,
37+ "object-curly-spacing" : [" error" , " always" ],
38+ "prefer-const" : " error" ,
39+ "quotes" : [" error" , " single" ],
40+ "semi" : [" error" , " always" ],
41+ "space-before-blocks" : " error" ,
42+ "space-before-function-paren" : [
43+ " error" ,
44+ {
45+ "anonymous" : " never" ,
46+ "named" : " never" ,
47+ "asyncArrow" : " always"
48+ }
49+ ],
50+ "space-in-parens" : " error" ,
51+ "space-infix-ops" : " error" ,
52+ "space-unary-ops" : " error" ,
53+ "spaced-comment" : " error" ,
54+ "yoda" : " error"
55+ }
56+ }
0 commit comments