Skip to content

Commit

Permalink
Remove no-unneeded-ternary rule, see phetsims/phet-info#156
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 26, 2021
1 parent 93818d9 commit 6e255f6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions eslint/format_eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,6 @@ module.exports = {
// enforceInMethodNames: true
// } ],

// disallow the use of Boolean literals in conditional expressions
// also, prefer `a || b` over `a ? a : b`
// https://eslint.org/docs/rules/no-unneeded-ternary
'no-unneeded-ternary': [ 'error', { defaultAssignment: false } ],

// enforce "same line" or "multiple line" on object properties.
// https://eslint.org/docs/rules/object-property-newline
// 'object-property-newline': [ 'error', {
Expand Down

0 comments on commit 6e255f6

Please sign in to comment.