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

feat: improve rust linting with prettier #693

Merged
merged 4 commits into from
Oct 28, 2024

Conversation

chrismaree
Copy link
Member

Signed-off-by: chrismaree [email protected]

Signed-off-by: chrismaree <[email protected]>
@chrismaree chrismaree marked this pull request as draft October 25, 2024 12:51
@chrismaree chrismaree marked this pull request as ready for review October 25, 2024 12:52
@chrismaree chrismaree requested review from md0x and Reinis-FRP and removed request for md0x October 25, 2024 12:52
package.json Outdated
"lint-fix": "yarn prettier --write && cargo fmt --all",
"prettier": "prettier .",
"lint-js": "yarn prettier --list-different **/*.js **/*.ts",
"lint-rust": "yarn prettier --list-different **/*.rs",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is quite slow locally as it tries to lint all anchor expanded macros. maybe we limit this to programs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, done.

Signed-off-by: chrismaree <[email protected]>
Copy link

socket-security bot commented Oct 28, 2024

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

Copy link
Contributor

@md0x md0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3

Signed-off-by: chrismaree <[email protected]>
@chrismaree chrismaree merged commit fdf2cb8 into master Oct 28, 2024
9 checks passed
@chrismaree chrismaree deleted the chrismaree/update-rust-linter branch October 28, 2024 11:18
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