Skip to content

🛠 Tooling: replace jsonc-eslint-parser with @eslint/json #655

Open
@rakleed

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

Metadata

Assignees

No one assigned

    Labels

    area: toolingManaging the repository's maintenancestatus: accepting prsPlease, send a pull request to resolve this!type: featureNew enhancement or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions