Open
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Issue Description
eslint-plugin-unicorn
since version 57 deprecated the old config name for use in flat config: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/index.d.ts#L8-L12
TypeScript reports this, but the no-deprecated
rule does not work in eslint.config.ts
for the deprecated config name.
Reproduction Repository Link
https://stackblitz.com/edit/vitejs-vite-hq4ykaue?file=eslint.config.ts
Repro Steps
- Open the reproduction link
- Open the second terminal at the bottom
npm run lint
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
8.26.1 |
@typescript-eslint/parser |
8.26.1 |
@typescript-eslint/scope-manager |
8.26.1 |
@typescript-eslint/typescript-estree |
8.26.1 |
@typescript-eslint/type-utils |
8.26.1 |
@typescript-eslint/utils |
8.26.1 |
TypeScript |
5.8.2 |
ESLint |
9.22.0 |
node |
18.20.3 |