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

Upgrade to ESLint 9, flatconfig and Node.js 18 (#173) #175

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

prantlf
Copy link
Contributor

@prantlf prantlf commented Apr 10, 2024

Upgrade the eslint dependency. Change the documentation and tests to use the new configuration format. Also, upgrade Node.js in the build pipeline.

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

https://eslint.org/blog/2023/10/flat-config-rollout-plans/#eslintrc-removed-in-eslint-v10.0.0

  • Describe and test the usage only with flatconfig. It'll be the only config format soon. Who needs to retain .eslintrc can stay with eslint 8.
  • ESLint 9 supports only Node.js ^18.18.0 || ^20.9.0 || >=21.1.0.
  • The formatter eslint-tap works, but because it doesn't follow the NPM package naming convention eslint-formatter-*, it has to be specified using a path to the script with the main exports.

Fixes #173

prantlf and others added 4 commits April 10, 2024 07:49
Upgrade the eslint dependency. Change the documentation and tests to use
the new configuration format. Also, upgrade Node.js in the build pipeline.

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

https://eslint.org/blog/2023/10/flat-config-rollout-plans/#eslintrc-removed-in-eslint-v10.0.0

* Describe and test the usage only with flatconfig. It'll be the only config
  format soon. Who needs to retain `.eslintrc` can stay with eslint 8.
* ESLint 9 supports only Node.js `^18.18.0 || ^20.9.0 || >=21.1.0`.
* The formatter `eslint-tap` works, but because it doesn't follow the NPM
  package naming convention `eslint-formatter-*`, it has to be specified
  using a path to the script with the main exports.
@sindresorhus sindresorhus merged commit 81834b4 into sindresorhus:main Apr 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Implement flat config compatibility
2 participants