We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
no-nested-ternary
1 parent 4f761fd commit 537ef66Copy full SHA for 537ef66
lib/options-manager.js
@@ -304,6 +304,8 @@ const buildConfig = options => {
304
if (options.prettier) {
305
// Disable formatting rules conflicting with Prettier
306
config.rules['unicorn/number-literal-case'] = 'off';
307
+ // Can be re-enabled when https://github.com/prettier/prettier/issues/4157 is fixed
308
+ config.rules['unicorn/no-nested-ternary'] = 'off';
309
// The prettier plugin uses Prettier to format the code with `--fix`
310
config.plugins = config.plugins.concat('prettier');
311
// The prettier config overrides ESLint stylistic rules that are handled by Prettier
0 commit comments