antfu / eslint-ts-patch

Support loading eslint.config.mjs and eslint.config.ts as flat config files for ESLint.
MIT License
155 stars 6 forks source link

eslint@9.9.0 is not supported, and I found this version supported TS config files already #11

Open yunsii opened 1 month ago

yunsii commented 1 month ago

Describe the bug

https://github.com/eslint/eslint/releases/tag/v9.9.0

Reproduction

https://github.com/eslint/eslint/releases/tag/v9.9.0

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (12) x64 Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
    Memory: 12.63 GB / 15.52 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 22.6.0 - ~/.nvm/versions/node/v22.6.0/bin/node
    Yarn: 1.22.10 - /mnt/c/Users/zpr1g/AppData/Roaming/npm/yarn
    npm: 10.8.2 - ~/.nvm/versions/node/v22.6.0/bin/npm
    pnpm: 8.6.10 - /mnt/c/Users/zpr1g/AppData/Roaming/npm/pnpm

Used Package Manager

pnpm

Validations

Contributions

antfu commented 1 month ago

In that sense you probably don't need this patch anymore, right?

yunsii commented 1 month ago

Yes, I have tried to remove this patch and it works 😄

yunsii commented 1 month ago

And run eslint cli with unstable_ts_config option is required, VS Code config should also update refer to https://github.com/microsoft/vscode-eslint/issues/1917