From 6e255f6c49e24200306b6d9a73bc1504bd9e387c Mon Sep 17 00:00:00 2001 From: samreid Date: Fri, 26 Feb 2021 14:31:39 -0700 Subject: [PATCH] Remove no-unneeded-ternary rule, see https://github.com/phetsims/phet-info/issues/156 --- eslint/format_eslintrc.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/eslint/format_eslintrc.js b/eslint/format_eslintrc.js index b9615fa11..b5e998602 100644 --- a/eslint/format_eslintrc.js +++ b/eslint/format_eslintrc.js @@ -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', {