Skip to content

Commit ec8fa4b

Browse files
committedMar 13, 2015
ESLint: match quote style, add more non-default strictness
1 parent e85f1b5 commit ec8fa4b

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed
 

‎.eslintrc

+32-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
{
22
"env": {
3+
"mocha": true,
34
"node": true
4-
}
5-
}
5+
},
6+
"rules": {
7+
/* Possible Errors */
8+
"no-extra-parens": 2,
9+
"valid-jsdoc": 2,
10+
/* Best Practices */
11+
"block-scoped-var": 2,
12+
"complexity": [1, 3],
13+
"default-case": 2,
14+
"dot-notation": [2],
15+
"guard-for-in": 2,
16+
"no-div-regex": 2,
17+
"no-else-return": 2,
18+
"no-eq-null": 2,
19+
"no-floating-decimal": 2,
20+
"no-process-env": 2,
21+
"no-self-compare": 2,
22+
"no-void": 2,
23+
"no-warning-comments": 2,
24+
"radix": 2,
25+
"vars-on-top": 2,
26+
"wrap-iife": 2,
27+
/* Variables */
28+
"no-catch-shadow": 2,
29+
/* Node.JS */
30+
"no-sync": 2,
31+
/* Stylistic Issues */
32+
"no-mixed-spaces-and-tabs": 2,
33+
"no-underscore-dangle": 2,
34+
"quotes": [1, "single", "avoid-escape"]
35+
}}

0 commit comments

Comments
 (0)
Please sign in to comment.