Skip to content

Commit b893ce0

Browse files
committed
Merge pull request #272 from RobLoach/eslint
Add ESLint support
2 parents d5cddf8 + 87ea890 commit b893ce0

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

linters/eslintrc

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
env:
2+
browser: true
3+
node: true
4+
5+
rules:
6+
no-new-object: 2
7+
no-reserved-keys: 2
8+
no-array-constructor: 2
9+
quotes: [2, "single"]
10+
indent: [2, 2]
11+
no-multi-str: 2
12+
no-multi-spaces: 2
13+
no-shadow-restricted-names: 2
14+
dot-notation: 2
15+
block-scoped-var: 2
16+
vars-on-top: 2
17+
no-unused-vars: 2
18+
eqeqeq: 2
19+
use-isnan: 2
20+
no-eq-null: 2
21+
brace-style: 2
22+
spaced-line-comment: 2
23+
valid-jsdoc: 2
24+
space-infix-ops: 2
25+
eol-last: 2
26+
padded-blocks: [2, "never"]
27+
space-before-blocks: 2
28+
comma-dangle: [2, "never"]
29+
comma-style: 2
30+
semi: [2, always]
31+
semi-spacing: 2
32+
no-extra-boolean-cast: 2
33+
space-before-function-paren: [2, "never"]
34+
no-spaced-func: 2
35+
no-wrap-func: 2
36+
one-var: [2, "never"]
37+
camelcase: 2
38+
new-cap: 2
39+
consistent-this: [1, "_this"]
40+
func-names: 2
41+
key-spacing: 2
42+
no-dupe-keys: 2
43+
strict: 2

0 commit comments

Comments
 (0)