Merge pull request #762 from jahvi/patch-2

[eslint config] [semver-minor] Enforce literal syntax for array creation, to match guide
This commit is contained in:
Jordan Harband
2016-02-24 08:55:39 -08:00

View File

@@ -64,7 +64,7 @@ module.exports = {
// http://eslint.org/docs/rules/newline-per-chained-call
'newline-per-chained-call': [0, { 'ignoreChainWithDepth': 3 }],
// disallow use of the Array constructor
'no-array-constructor': 0,
'no-array-constructor': 2,
// disallow use of the continue statement
'no-continue': 0,
// disallow comments inline after code