You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add support for a new --fix option, that will try to fix issues as much as possible. We can add a fn fix(&self) -> bool to the Issue trait, that will be executed on each issue. Returning true means the fix was successful, false that it wasn't:
As suggested by @juliusmarminge: https://twitter.com/jullerino/status/1703794047104479562
We should add support for a new
--fix
option, that will try to fix issues as much as possible. We can add afn fix(&self) -> bool
to theIssue
trait, that will be executed on each issue. Returningtrue
means the fix was successful,false
that it wasn't:sherif/src/rules/mod.rs
Line 45 in 7b5a207
empty-dependencies
#14root-package-private-field
#17types-in-dependencies
#18non-existant-packages
#30packages-without-package-json
#31multiple-dependency-versions
#33root-package-dependencies
isn't auto fixableroot-package-manager-field
how to detect properly the package manager + version to use?The text was updated successfully, but these errors were encountered: