add new rules up to eslint 2.6

main
Steffen Rademacker 8 years ago
parent 8bc87ceeab
commit 121a7e4bab

@ -65,6 +65,7 @@
"no-unused-expressions": 2,
"no-useless-call": 2,
"no-useless-concat": 2,
"no-useless-escape": 2,
"no-void": 2,
"no-warning-comments": 0,
"no-with": 2,
@ -120,9 +121,11 @@
"max-nested-callbacks": [ 1, 4 ],
"max-params": [ 1, 4 ],
"max-statements": [ 1, 30 ],
"max-statements-per-line": [ 1 ],
"new-cap": 2,
"new-parens": 2,
"newline-after-var": [ 1, "always" ],
"newline-before-return": 0,
"newline-per-chained-call": [ 0, { "ignoreChainWithDepth": 3 } ],
"no-array-constructor": 2,
"no-bitwise": 2,
@ -168,6 +171,7 @@
"generator-star-spacing": [ 1, { "before": true, "after": true} ],
"no-confusing-arrow": 1,
"no-useless-constructor": 1,
"no-duplicate-imports": 1,
"no-var": 2,
"object-shorthand": [ 1, "always" ],
"prefer-arrow-callback": 1,

Loading…
Cancel
Save