aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-03-10 09:47:34 +0100
committerGitHub <[email protected]>2024-03-10 08:47:34 +0000
commit89e3f1cb2f5fcb76952e2287b3c0dc6ee71745c9 (patch)
treef7f67ca938c82b5a5f20b1cbe263292db2b6095d
parenta536a9d79f410986e6bd6dc1bc4a72252a0cc8d9 (diff)
downloadfaker-89e3f1cb2f5fcb76952e2287b3c0dc6ee71745c9.tar.xz
faker-89e3f1cb2f5fcb76952e2287b3c0dc6ee71745c9.zip
infra(unicorn): no-array-callback-reference (#2722)
-rw-r--r--.eslintrc.cjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 09b3f68a..b2424b41 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -38,6 +38,7 @@ module.exports = defineConfig({
'prefer-exponentiation-operator': 'error',
'prefer-template': 'error',
+ 'unicorn/no-array-callback-reference': 'off', // reduces readability
'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
@@ -49,7 +50,6 @@ module.exports = defineConfig({
'unicorn/better-regex': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/import-style': 'off',
- 'unicorn/no-array-callback-reference': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-object-as-default-parameter': 'off',
'unicorn/numeric-separators-style': 'off',