Closed sjuvonen closed 1 year ago
Tbh this requirement hardly makes this package "compatible with v7", so I would just drop that nonsense and instead advertise only support for v8+.
Thanks. I'll look into either (a) removing the assumption that getRulesMetaForResults
is present… or (b) clarifying which versions of ESLint v7 are supported.
This got fixed in #28. We're not publishing to Pulsar's package repo yet, but those who installed straight from GitHub (ppm install AtomLinter/linter-eslint-node
) will get the update, I think.
I was running this plugin and working on a codebase where we had installed
eslint:7:24.0
. According to the package documentation we can safely use this plugin with anyeslint >=7.0.0
.However, I was faced with the following error message in Atom:
eslint.eslintLint.getRulesMetaForResults is not a function
.So, I looked up this method in Eslint's sources and it seems that it has been added in version
7.29.0
, hence making it the minimum supported version.See the commit here
I've now upgraded to
eslint:7.32.0
and everything seem to be working so far, so I cannot comment on whether or not there could be further breakage if I was actually trying to use version 7.29.0