Disallow packages with outdated minor or patch versions #59
Replies: 2 comments
-
It is not possible indeed with the feature set that
It's not great, but it would work.
I'd go for
I certainly think knowing about outdated dependencies is useful. But I don't think it would work into an Elm Analyse lets you know that a dependency is outdated (even for major versions) in the web view, but it does not get reported as an error. That is also useful, but I am not sure how
I think it would be useful only for people who work alone on a project. Also, it would be for people working on an application, since it's less necessary for packages to have updated minor/patch dependencies IMO. |
Beta Was this translation helpful? Give feedback.
-
There is a risk of this but I think in practice it would rarely happen. If the CI takes a long time then having to restart it might make this too annoying to use, but I can say I'd use a rule like this with my team at work (our CI takes 2-3 minutes). |
Beta Was this translation helpful? Give feedback.
-
What the rule should do:
Check
elm.json
to see if any package are out of date. In this context, "out of date" is only if there's a package with the same major version and a larger minor or patch version.When (not) to enable this rule:
In the rare cases where a patch or minor change introduces a breaking change to the logic of an existing function
I am looking for:
I don't think this rule is possible to implement right now since elm-review doesn't give us information about packages. This issue is more of a data point for what's possible with more elm-review features.
Beta Was this translation helpful? Give feedback.
All reactions