sindresorhus / eslint-plugin-unicorn

More than 100 powerful ESLint rules
MIT License
4.32k stars 366 forks source link

Results of weekly scheduled smoke test #2500

Open github-actions[bot] opened 2 weeks ago

github-actions[bot] commented 2 weeks ago

Something went wrong. This is likely an internal error of eslint-remote-tester-run-action.

Click to expand ``` Error: Configuration validation errors: - eslintConfig: Error while loading rule 'unicorn/expiring-todo-comments': Cannot read properties of undefined (reading 'decoration') Occurred while linting /github/workspace/__placeholder__.js at validate (file:///github/workspace/node_modules/eslint-remote-tester/dist/config/validator.js:149:19) at async runTester (file:///index.mjs:26783:3) ```
codepunkt commented 2 weeks ago

If the smoke test is based on latest eslint versions, this is an actual error. Eslint has decided to change the way their rules accept default arguments, so if this plugin is using any eslint base rules under the hood, it's probably that.

This is the related typescript-eslint thread. They have released a few canaries over the weekend trying to deal with this.

See https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2496