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

chore: update prettier globs and format files #7856

Merged
merged 2 commits into from
Feb 11, 2022

Conversation

nschonni
Copy link
Contributor

What kind of change does this PR introduce?

refactoring

Did you add tests for your changes?

If relevant, did you update the documentation?

Summary

Updated to get a clean run with prettier running across all files. Ignore some generated and test content that shouldn't be formatted

Does this PR introduce a breaking change?

Other information

@Kikobeats
Copy link
Contributor

Thanks for this; All PRs are broken linter was added but the code is not properly formatted.

If @johanbay @mathiasbynens approve this, we can rebase the rest of PRs 🙏

@OrKoN
Copy link
Collaborator

OrKoN commented Feb 11, 2022

I think for js files we use prettier through eslint to avoid conflicts. Would it work without conflicts with eslint? Thanks a lot for the PR and I appreciate if you can rebase it if it's compatible with eslint.

@nschonni
Copy link
Contributor Author

Yes, ESLint prettier passes out to the main library, and uses the same config

@nschonni nschonni marked this pull request as draft February 11, 2022 15:30
@nschonni nschonni marked this pull request as ready for review February 11, 2022 15:39
@nschonni
Copy link
Contributor Author

@OrKoN gave it a rebase and added in a few ignores from a CI failure. Unfortunately the prettierignore doesn't merge with gitignore currently, so there is a bit of duplication

@nschonni
Copy link
Contributor Author

Looks like there was a dangling reference to Markdownlint, so I removed that for now

@nschonni
Copy link
Contributor Author

looks like CI is happy this time

@OrKoN OrKoN merged commit b2bf70f into puppeteer:main Feb 11, 2022
@nschonni nschonni deleted the prettier-globs branch February 11, 2022 19:30
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.

3 participants