1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-10-05 03:36:10 +02:00

fix: relax unicorn/consistent-function-scoping
Some checks failed
Lint / lint (push) Successful in 49s
Test / test (push) Successful in 37s
Release / release (push) Failing after 1m2s

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:
Théo LUDWIG 2023-07-18 23:12:21 +02:00
parent 6345bddd38
commit d149fdd6ab
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -176,7 +176,6 @@
"unicorn/better-regex": "error",
"unicorn/catch-error-name": "error",
"unicorn/consistent-destructuring": "error",
"unicorn/consistent-function-scoping": "error",
"unicorn/custom-error-definition": "error",
"unicorn/error-message": "error",
"unicorn/escape-case": "error",