-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add some rules #3
Comments
@anbraten What do you think of https://eslint.org/docs/rules/func-style#expression? |
Isn't this handled by typescript? |
@lukashass It wasn't the last time I checked it. Anyways, Typescript should not be responsible for these kind of code quality checking as that stops the build from passing which is quite annoying while developing. |
@lukashass IDK. The first sample seems to be quite restrictive and would require us to change a lot of code as we often use function xyz(){] inside vue setup. |
|
Just though it would be nice for consistency and this would have fixed some "use before define" issues as well:
But that is now restricted by @typescript-eslint/no-use-before-define ✨ |
always
// ...
instead of//...
it
-test (not if behinddescribe
)if (x) { return true } else { return false }
The text was updated successfully, but these errors were encountered: