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(formatter): suppress default_constructed_unit_structs on formatter generated code #298

Merged

Conversation

unvalley
Copy link
Member

@unvalley unvalley commented Sep 15, 2023

Summary

Closes #240 by suppressing clippy lint default_constructed_unit_structs.

Added #![allow(clippy::default_constructed_unit_structs)]

Test Plan

cargo codegen formatter then just l works

@unvalley unvalley changed the title fix(formatter): suppress allow default_constructed_unit_structs on formatter generated code fix(formatter): suppress default_constructed_unit_structs on formatter generated code Sep 15, 2023
@github-actions github-actions bot added A-Formatter Area: formatter A-Tooling Area: internal tools L-JavaScript Language: JavaScript and super languages L-JSON Language: JSON and super languages labels Sep 15, 2023
@unvalley unvalley merged commit ee07c0b into biomejs:main Sep 15, 2023
13 checks passed
@unvalley unvalley deleted the fix-lint-error-on-formatter-generated-code branch September 15, 2023 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Formatter Area: formatter A-Tooling Area: internal tools L-JavaScript Language: JavaScript and super languages L-JSON Language: JSON and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 fix formatter generated code
2 participants