From b55ac804e13dd4c7e8ce404e9bf69cd539b103a1 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 22 Oct 2023 22:49:03 +0200 Subject: [PATCH] infra(unicorn): no-zero-fractions (#2453) --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',