Skip to content

Commit

Permalink
fix: disable unicorn/consistent-function-scoping
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 9, 2024
1 parent b9052f8 commit 5363d53
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/configs/disables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export async function disables(): Promise<TypedFlatConfigItem[]> {
rules: {
'no-console': 'off',
'ts/explicit-function-return-type': 'off',
'unicorn/consistent-function-scoping': 'off',
},
},
{
Expand Down
1 change: 0 additions & 1 deletion src/configs/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export async function test(
'test/prefer-lowercase-title': 'error',

'ts/explicit-function-return-type': 'off',
'unicorn/consistent-function-scoping': 'off',

...overrides,
},
Expand Down
1 change: 0 additions & 1 deletion src/configs/unicorn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export async function unicorn(options: OptionsUnicorn = {}): Promise<TypedFlatCo
? pluginUnicorn.configs['flat/recommended'].rules
: {
'unicorn/consistent-empty-array-spread': 'error',
'unicorn/consistent-function-scoping': ['error', { checkArrowFunctions: false }],
'unicorn/error-message': 'error',
'unicorn/escape-case': 'error',
'unicorn/new-for-builtins': 'error',
Expand Down

0 comments on commit 5363d53

Please sign in to comment.