The configuration for ESLint is defined in package.jsoneslintrc format. ESLint JSON configurations, including definitions stored in package.json, are deprecated in ESLint v9.
Move the ESLint configuration from package.json to a new file: .eslintrc.js and convert from JSON to JavaScript format. This is an interim step in preparation for an update to ESLint 9.x.
Update to eslint@^8.57.0 (final version of ESLint 8.x) in package.json. (This version was already in use in yarn.lock.)
Issue
The configuration for ESLint is defined in package.json
eslintrc
format. ESLintJSON
configurations, including definitions stored inpackage.json
, are deprecated in ESLint v9.https://github.com/cypress-io/cypress-realworld-app/blob/147d192bae2c5cd9c3cf5540609f23097f3aa08a/package.json#L196-L212
Change
.eslintrc.js
and convert fromJSON
toJavaScript
format. This is an interim step in preparation for an update to ESLint9.x
.eslint@^8.57.0
(final version of ESLint8.x
) inpackage.json
. (This version was already in use inyarn.lock
.)Verification