diff --git a/.eslintrc.js b/.eslintrc.js index ea9fadda254..f299ebff191 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -38,6 +38,7 @@ module.exports = defineConfig({ 'unicorn/no-nested-ternary': 'off', // incompatible with prettier 'unicorn/no-null': 'off', // incompatible with TypeScript + 'unicorn/no-zero-fractions': 'off', // deactivated to raise awareness of floating operations 'unicorn/number-literal-case': 'off', // incompatible with prettier // TODO @Shinigami92 2023-09-23: prefer-at should be turned on when we drop support for Node 14. @@ -58,7 +59,6 @@ module.exports = defineConfig({ 'unicorn/no-negated-condition': 'off', 'unicorn/no-object-as-default-parameter': 'off', 'unicorn/no-useless-switch-case': 'off', - 'unicorn/no-zero-fractions': 'off', 'unicorn/numeric-separators-style': 'off', 'unicorn/prefer-array-some': 'off', 'unicorn/prefer-code-point': 'off',