🛠 Tooling: replace jsonc-eslint-parser
with @eslint/json
#655
Open
Description
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
As suggested in #601 (comment), I am creating a separate issue to discuss replacing jsonc-eslint-parser
dependency with @eslint/json
.
@eslint/json
is smaller and uses fewer dependencies than jsonc-eslint-parser
. The announcement post also says that it can be used as a parser for other plugins.
The main problem is that the plugin only works since version 9.6.0 of ESLint, and you can use only a flat config. So you will have to stop supporting eslint@8, but now it still has more weekly downloads than eslint@9.
Additional Info
No response