Skip to content

Commit ab16e73

Browse files
committed
fix: disable unicorn/consistent-function-scoping rule
1 parent f0c8379 commit ab16e73

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/configs/disables.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export function disables(): TypedFlatConfigItem[] {
99
rules: {
1010
'no-console': 'off',
1111
'ts/explicit-function-return-type': 'off',
12-
'unicorn/consistent-function-scoping': 'off',
1312
},
1413
},
1514
{

src/configs/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export async function test(
5454
'test/prefer-lowercase-title': 'error',
5555

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

5958
...overrides,
6059
},

src/configs/unicorn.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export function unicorn(): TypedFlatConfigItem[] {
1212
// 'unicorn/better-regex': 'error',
1313
'unicorn/catch-error-name': 'error',
1414
'unicorn/consistent-empty-array-spread': 'error',
15-
'unicorn/consistent-function-scoping': ['error', { checkArrowFunctions: false }],
1615
'unicorn/custom-error-definition': 'error',
1716
'unicorn/error-message': 'error',
1817
// 'unicorn/explicit-length-check': 'error',

0 commit comments

Comments
 (0)