Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: swap flat and legacy config doc locations #239

Merged

Conversation

MikeMcC399
Copy link
Collaborator

Issue

Currently documentation for the deprecated legacy eslintrc configuration is maintained in the README document. The documentation for flat configuration is contained in the FLAT-CONFIG document. Flat configuration should however be prioritized above the deprecated legacy eslintrc configuration.

Background

The ESLint blog eslintrc removed in ESLint v10.0.0 dated Oct 10, 2023 announced:

When ESLint v10.0.0 is released (end of 2024 or early 2025 in all likelihood), the eslintrc configuration system will be completely removed.

Additionally, if ESLint 9.1 or later is run using an eslintrc configuration, a warning similar to the following is output:

(node:25528) ESLintRCWarning: You are using an eslintrc configuration file, which is deprecated and support will be removed in v10.0.0. Please migrate to an eslint.config.js file. See https://eslint.org/docs/latest/use/configure/migration-guide for details.
(Use node --trace-warnings ... to show where the warning was created)

Change

To prepare for removal of eslintrc configurations and to raise the status of flat configurations as the preferred mode for the current version of the plugin:

  • move flat config information into the README
  • move eslintrc config information into a new ESLINTRC-CONFIG.md document

@cypress-app-bot
Copy link

@MikeMcC399
Copy link
Collaborator Author

@jennifer-shehane

Could you please add a new label documentation to this repo?

image

@MikeMcC399 MikeMcC399 marked this pull request as ready for review October 17, 2024 16:15
@MikeMcC399

This comment was marked as outdated.

@jennifer-shehane
Copy link
Member

Thanks!

@jennifer-shehane jennifer-shehane merged commit ee9980a into cypress-io:master Oct 21, 2024
8 checks passed
@MikeMcC399 MikeMcC399 deleted the docs/swap-flat-legacy branch October 21, 2024 16:55
@cypress-app-bot
Copy link

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants