-
Notifications
You must be signed in to change notification settings - Fork 199
Apply eslint and prettier autofixes on codebase #133
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
Conversation
|
I like that you don't have to add type declarations for inferred default values. And as long as there is no huge other PR right now, it shouldn't be an issue that this branch is a little bigger than usual |
|
Sorry for the late answer |
tbouffard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These errors are not not auto-fixed by eslint so I guess that's why they remain
Switch rule to warn for now - too many complicated code that uses `self` alias for this
Eliminate unnecessary code Eliminate var usage
Add abstract definition to abstract classes Fill empty methods blocks with return Remove unnecessary escapes in regexes
tbouffard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @mayorovad for having fixed all eslint errors 👍🏿
Summary
Theme of this PR is #122. I will try to not create huge PRs on this issue in future, but this one is really big, because auto-scripts applied. I didn't change any code manually.
eslintdeps in package.jsonlint:fixandprettierscriptsDescription for the changelog
Other info
Not so sure about eslint rule that eliminates type declarations for variables with defined values 🤔. If it's not ok for you, I can revert it back.