Skip to content

Commit

Permalink
base: disable no-nested-ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
glebec committed Jul 23, 2018
1 parent 9134422 commit e158fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ module.exports = {
'no-multi-assign': 0, // disallow use of chained assignment expressions
'no-multiple-empty-lines': [1, { max: 2, maxEOF: 1 }], // disallow multiple empty lines
'no-negated-condition': 0, // disallow negated conditions
'no-nested-ternary': 1, // disallow nested ternary expressions
'no-nested-ternary': 0, // disallow nested ternary expressions
'no-new-object': 0, // disallow `Object` constructors
'no-plusplus': 0, // disallow the unary operators `++` and `--`
'no-restricted-syntax': 0, // disallow specified syntax
Expand Down

0 comments on commit e158fbc

Please sign in to comment.