Merge pull request #578 from adrienverge/enforce-rule-18.5

[eslint] Enforce rule 18.5
This commit is contained in:
Jake Teton-Landis
2015-11-11 10:57:24 -08:00

View File

@@ -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