mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 12:48:03 -05:00
Merge pull request #578 from adrienverge/enforce-rule-18.5
[eslint] Enforce rule 18.5
This commit is contained in:
@@ -50,8 +50,8 @@ module.exports = {
|
||||
'no-lonely-if': 0,
|
||||
// disallow mixed spaces and tabs for indentation
|
||||
'no-mixed-spaces-and-tabs': 2,
|
||||
// disallow multiple empty lines
|
||||
'no-multiple-empty-lines': [2, {'max': 2}],
|
||||
// disallow multiple empty lines and only one newline at the end
|
||||
'no-multiple-empty-lines': [2, {'max': 2, 'maxEOF': 1}],
|
||||
// disallow nested ternary expressions
|
||||
'no-nested-ternary': 2,
|
||||
// disallow use of the Object constructor
|
||||
|
||||
Reference in New Issue
Block a user