aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-10-22 22:49:03 +0200
committerGitHub <[email protected]>2023-10-22 22:49:03 +0200
commitb55ac804e13dd4c7e8ce404e9bf69cd539b103a1 (patch)
treea3a29281fb666ef232dacd9abf0ffd5e0e66426d
parentf222448cabedee3e8ac4f64f8003df0954de2913 (diff)
downloadfaker-b55ac804e13dd4c7e8ce404e9bf69cd539b103a1.tar.xz
faker-b55ac804e13dd4c7e8ce404e9bf69cd539b103a1.zip
infra(unicorn): no-zero-fractions (#2453)
-rw-r--r--.eslintrc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index ea9fadda..f299ebff 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',