diff options
| author | ST-DDT <[email protected]> | 2024-11-03 11:48:13 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-03 10:48:13 +0000 |
| commit | 2d34798d309473f23bdab1698ae9abf6b653d4b8 (patch) | |
| tree | abc22ccc9bd400f49e1ceffe67437dbdff0fec67 | |
| parent | 18f14c8eb362e2d08d17a3746962c991f1d2815c (diff) | |
| download | faker-2d34798d309473f23bdab1698ae9abf6b653d4b8.tar.xz faker-2d34798d309473f23bdab1698ae9abf6b653d4b8.zip | |
infra(unicorn): permanently disable no-object-as-default-parameter (#3203)
| -rw-r--r-- | eslint.config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eslint.config.ts b/eslint.config.ts index 6ec1f0db..1d729fe1 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -147,6 +147,7 @@ const config: ReturnType<typeof tseslint.config> = tseslint.config( 'unicorn/import-style': 'off', // subjective & doesn't do anything for us 'unicorn/no-array-callback-reference': 'off', // reduces readability 'unicorn/no-nested-ternary': 'off', // incompatible with prettier + 'unicorn/no-object-as-default-parameter': 'off', // https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2199 '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 @@ -157,7 +158,6 @@ const config: ReturnType<typeof tseslint.config> = tseslint.config( // TODO @Shinigami92 2023-09-23: The following rules currently conflict with our code. // Each rule should be checked whether it should be enabled/configured and the problems fixed, or stay disabled permanently. 'unicorn/consistent-function-scoping': 'off', - 'unicorn/no-object-as-default-parameter': 'off', 'unicorn/prefer-export-from': 'off', 'unicorn/prefer-string-slice': 'off', 'unicorn/prevent-abbreviations': 'off', |
