From 3360a31105be3190df5544095c4680b31c391f0e Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Tue, 17 Oct 2023 23:28:47 +0200 Subject: [PATCH] infra(unicorn): no-zero-fractions --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index ad17b31b7dd..d793db0d1e6 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. @@ -60,7 +61,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',