mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 21:58:18 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user