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
Error while loading rule unicorn/expiring-todo-comments #479
Comments
// @lubien |
FWIW 12.1.0 works, >=13 has the error, #435 seems like the obvious candidate |
@momakes Can you test if #494 fixes your problem? You can add it by yarn add fisker/eslint-plugin-unicorn#fix-expiring-todo-comments
OR
npm i fisker/eslint-plugin-unicorn#fix-expiring-todo-comments (not sure if npm version command is correct) |
@fisker works in my project 👍 Note that the underlying error is that monorepos aren't really supported for the module version checks. It doesn't detect a version for the packages which are not specified in the root package.json (seemingly). So in v12 it silently ignored it, v13 exploded with a EDIT: That's tracked in #403 |
@SimenB Thanks. |
ESLint: Error while loading rule 'unicorn/expiring-todo-comments': Invalid Version: null Occurred while linting
I keep getting it on every ESLint run in VS Code on any file that has a TODO comment with version. Wasn't like this before. Tried updating, no luck.
What else can I provide?
The text was updated successfully, but these errors were encountered: