eslint-plugin-json icon indicating copy to clipboard operation
eslint-plugin-json copied to clipboard

package is not compatible to eslint v9

Open fmacherey opened this issue 1 year ago • 1 comments

I updated to eslint v9 and moved to the new flat config.

When using eslint-plugin-json, I am getting the following error:

ESLint configuration in  » plugin:json/recommended is invalid:
	- Unexpected top-level property "files".

Looks like there is something breaking with the new eslint version

fmacherey avatar Nov 08 '24 13:11 fmacherey

It's documented

https://github.com/azeemba/eslint-plugin-json#basic-configuration-legacy-eslint-format

{
  "extends": ["plugin:json/recommended-legacy"]
}

JounQin avatar Mar 14 '25 13:03 JounQin