mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-12-18 21:45:04 +01:00
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.
This commit is contained in:
parent
6345bddd38
commit
d149fdd6ab
@ -176,7 +176,6 @@
|
|||||||
"unicorn/better-regex": "error",
|
"unicorn/better-regex": "error",
|
||||||
"unicorn/catch-error-name": "error",
|
"unicorn/catch-error-name": "error",
|
||||||
"unicorn/consistent-destructuring": "error",
|
"unicorn/consistent-destructuring": "error",
|
||||||
"unicorn/consistent-function-scoping": "error",
|
|
||||||
"unicorn/custom-error-definition": "error",
|
"unicorn/custom-error-definition": "error",
|
||||||
"unicorn/error-message": "error",
|
"unicorn/error-message": "error",
|
||||||
"unicorn/escape-case": "error",
|
"unicorn/escape-case": "error",
|
||||||
|
Loading…
Reference in New Issue
Block a user