Skip to content
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

Fix prettier glob to correctly navigate recursively and format missing files #107

Merged

Conversation

manuelpuyol
Copy link
Contributor

Follow up on #106

I noticed that not all js files under src were linted. The format script was using src/**/*.js glob, but per prettier/prettier#2078 (comment) it should be enclosed in single quotes to function properly. Otherwise, it would only look for js files in a first-level directory such as src/components/Highlight.js and not src/vendor/prism/prism-core.js nor src/types.js

@kitten kitten merged commit 89c194b into FormidableLabs:master Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants