cypress-realworld-app
cypress-realworld-app copied to clipboard
chore: create ESLint v8 .eslintrc.js config
Issue
The configuration for ESLint is defined in package.json eslintrc format. ESLint JSON configurations, including definitions stored in package.json, are deprecated in ESLint v9.
https://github.com/cypress-io/cypress-realworld-app/blob/147d192bae2c5cd9c3cf5540609f23097f3aa08a/package.json#L196-L212
Change
- Move the ESLint configuration from package.json to a new file:
.eslintrc.jsand convert fromJSONtoJavaScriptformat. This is an interim step in preparation for an update to ESLint9.x. - Update to
eslint@^8.57.0(final version of ESLint8.x) inpackage.json. (This version was already in use inyarn.lock.)
Verification
yarn
yarn eslint .
- Confirm that there are no new failures, not already described in https://github.com/cypress-io/cypress-realworld-app/issues/1547.