mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 14:48:14 -05:00
Enforce literal syntax for array creation
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