-
Notifications
You must be signed in to change notification settings - Fork 781
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
style(lib/core): var -> let and const codemod #4457
Conversation
@@ -7,5 +7,6 @@ doc/api/* | |||
doc/examples/jest_react/*.js | |||
|
|||
lib/core/imports/*.js | |||
lib/core/utils/uuid.js |
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.
Did you mean to include this?
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.
I did @WilcoFiers. It felt weird to update a file that I don't think we wrote (judging by the comment at the top of uuid.js
. Eventually when all of these codemods are merged the last PR will turn on the eslint rule no-var
and unless we either update this file or ignore it, this file will throw an eslint warning.
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.
@gaiety-deque Merge conflict, can you update?
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.
the eslintignore thing. Rest looks good
wilco and I believe marque is to blame because it is animated
Just like #4451 but for
lib/core
This does add an
.eslintignore
line, perhaps we'd rather skip a file a different way.Smaller part of the full vision: #4444