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 a --local_changes
mode to gulp prettify
#25093
Conversation
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.
Giving approval for md file.
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.
Comments addressed.
@estherkim Good call on refactoring |
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.
PR highlights:
--local_changes
mode togulp prettify
globby
package to convert an array of globs to a list of matching files (fast, widely used, actively maintained, can handle negative globs)lintableFilesChanged()
fromlint.js
intogetFilesChanged(globs)
inbuild-system/common/utils.js
gulp pr-check
rungulp prettify --local_changes
gulp prettify --local_changes
Coming up:
globs-to-files
acrossbuild-system/
(hasn't been updated in 4 years / can't handle negative globs) and replace it withglobby
Follow up to #25057 and #25085