mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint-v2][whitespace] add newline-per-chained-call rule
This commit is contained in:
committed by
Jordan Harband
parent
fbd9c35dd3
commit
172dffbb52
@@ -59,6 +59,9 @@ module.exports = {
|
||||
'new-parens': 0,
|
||||
// allow/disallow an empty newline after var statement
|
||||
'newline-after-var': 0,
|
||||
// enforces new line after each method call in the chain to make it more readable and easy to maintain
|
||||
// http://eslint.org/docs/rules/newline-per-chained-call
|
||||
'newline-per-chained-call': [2, { "ignoreChainWithDepth": 3 }],
|
||||
// disallow use of the Array constructor
|
||||
'no-array-constructor': 0,
|
||||
// disallow use of the continue statement
|
||||
|
||||
Reference in New Issue
Block a user