-
Notifications
You must be signed in to change notification settings - Fork 41
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
Ripgrep integration + rust runtime fixes #436
Conversation
laurit17
commented
Aug 15, 2023
- make the trunk tools generate template a little bit smarter
- bump the rust runtime version so it supports ripgrep
- integrate ripgrep (39.4K stars)
- fix environment spec for rust runtime
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.
Looks good. Couple small notes
@@ -13,7 +13,4 @@ lint: | |||
stdin: true | |||
formatter: true | |||
suggest_if: files_present | |||
environment: | |||
- name: PATH | |||
list: ["${linter}/bin"] |
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.
I think we can also apply this to clippy and rustfmt, correct?
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.
ah - these are different because they are rust downloads. we can convert to runtime shims. will do so separately.
- Eslint: new `tools.runtimes` functionality requires explicitly specifying runtime shims - nixpkgs-fmt: transitive dependencies were no longer compatible with the pinned runtime version. Bumped to KGV, see #436 - Adds additional debug logs since eslint has been failing more frequently lately This should fix the cross-repo tests since the new CLI versions will require these changes. **These tests will not pass until we get a new staging release with Windows shim fixes. Will bump version and land after that's out.**
- Eslint: new `tools.runtimes` functionality requires explicitly specifying runtime shims - nixpkgs-fmt: transitive dependencies were no longer compatible with the pinned runtime version. Bumped to KGV, see #436 - Adds additional debug logs since eslint has been failing more frequently lately This should fix the cross-repo tests since the new CLI versions will require these changes. **These tests will not pass until we get a new staging release with Windows shim fixes. Will bump version and land after that's out.**