From 22881bd3e844990620d49ccdc156d7c15b35206a Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Sat, 27 Jul 2024 12:44:07 +0700 Subject: [PATCH] Revert last commit --- index.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 9cef9cb..8d89aa7 100644 --- a/index.js +++ b/index.js @@ -40,12 +40,14 @@ module.exports = { ], 'no-empty-static-block': 'error', 'no-ex-assign': 'error', - 'no-extra-boolean-cast': [ - 'error', - { - enforceForInnerExpressions: true - }, - ], + 'no-extra-boolean-cast': 'error', + // Disabled because of https://github.com/xojs/eslint-config-xo/pull/87 + // 'no-extra-boolean-cast': [ + // 'error', + // { + // enforceForInnerExpressions: true + // }, + // ], // Disabled because of https://github.com/eslint/eslint/issues/6028 // 'no-extra-parens': [ // 'error',