Skip to content

Commit d149fdd

Browse files
committed
fix: relax unicorn/consistent-function-scoping
Rule not working well with typeof generic in TypeScript. React.js component should have all the related functions in its scope.
1 parent 6345bdd commit d149fdd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@
176176
"unicorn/better-regex": "error",
177177
"unicorn/catch-error-name": "error",
178178
"unicorn/consistent-destructuring": "error",
179-
"unicorn/consistent-function-scoping": "error",
180179
"unicorn/custom-error-definition": "error",
181180
"unicorn/error-message": "error",
182181
"unicorn/escape-case": "error",

0 commit comments

Comments
 (0)