-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
expiring-todo-comments
Broken in ESlint 9.15.0
#2496
Comments
Relevant dependencies in package.json: {
"devDependencies": {
"@eslint/js": "^9.15.0",
"eslint": "^9.15.0",
"eslint-plugin-unicorn": "^56.0.0",
}
} |
Might be related to eslint/eslint#19134 |
This comment was marked as duplicate.
This comment was marked as duplicate.
typescript-eslint was affected and does fix it, now we have to wait for this |
They've fixed it in 8.15.0 |
ESLint team chalked this one up to an issue with
I updated all my deps and still have the same issue. Disabling unicorn avoids the error. So the issue persists in unicorn. |
* Update eslint monorepo to v9.15.0 * Disable unicorn/expiring-todo-comments sindresorhus/eslint-plugin-unicorn#2496 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stephen Wade <[email protected]>
Yeah I confirm, same error here and "TypeError: Error while loading rule 'sonarjs/no-empty-function': Cannot read properties of undefined (reading 'allow')" (but it's not relevant for this thread) |
unicorn/expiring-todo-comments
Broken in ESlint9.15.0
. Works fine in9.14.0
.The above error occurs when reading a file that has the following comment:
// Note: If none of the slotted options are selected, select all
Relevant portion of ESLint config is:
The text was updated successfully, but these errors were encountered: