Skip to content

Commit

Permalink
feat: allow nested ternaries (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
nowyDEV authored Dec 18, 2023
1 parent 9c00e06 commit eaa1b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profile/_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ function buildRules(profile) {

/**
* Chaining the assignment of variables can lead to unexpected results and be difficult to read.
* @see https://eslint.org/docs/latest/rules/no-multi-assign
* @see https://eslint.org/docs/latest/rules/no-nested-ternary
*/
"no-nested-ternary": "warn",
"no-nested-ternary": "off",

/**
* As of the ECMAScript 5 specification, octal escape sequences in string literals are deprecated and should not be used.
Expand Down

0 comments on commit eaa1b8d

Please sign in to comment.