-
Notifications
You must be signed in to change notification settings - Fork 56
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
Conversation
Signed-off-by: chrismaree <[email protected]>
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", |
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.
this is quite slow locally as it tries to lint all anchor expanded macros. maybe we limit this to programs?
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.
sure, done.
Signed-off-by: chrismaree <[email protected]>
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
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.
<3
Signed-off-by: chrismaree <[email protected]>
Signed-off-by: chrismaree [email protected]