aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-06-08 08:15:17 +0200
committerGitHub <[email protected]>2024-06-08 06:15:17 +0000
commit567d66ddf5810b6efd1cb9b6cdd691f519b7e8de (patch)
tree7c303d8193b8851a334e6653f3b56719eab2e410
parent3ae93934bc4cf5f6414acfa28ea727f758d18756 (diff)
downloadfaker-567d66ddf5810b6efd1cb9b6cdd691f519b7e8de.tar.xz
faker-567d66ddf5810b6efd1cb9b6cdd691f519b7e8de.zip
infra(unicorn): numeric-separators-style (#2815)
-rw-r--r--.eslintrc.cjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 46f74f11..0ba15e4c 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -45,6 +45,7 @@ module.exports = defineConfig({
'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
+ 'unicorn/numeric-separators-style': 'off', // "magic numbers" may carry specific meaning
'unicorn/prefer-ternary': 'off', // ternaries aren't always better
// TODO @Shinigami92 2023-09-23: The following rules currently conflict with our code.
@@ -52,7 +53,6 @@ module.exports = defineConfig({
'unicorn/better-regex': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/no-object-as-default-parameter': 'off',
- 'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-export-from': 'off',
'unicorn/prefer-string-slice': 'off',
'unicorn/prevent-abbreviations': 'off',