๐ Tracking: ESLint v9 support
Problem
๐ Hi all! With ESLint v9 released, many community plugins are adding support for the new major version. This is a tracking issue of ESLint v9 compatibility for the ~35 or so most popular plugins for ESLint that already support flat config. We'll keep this list updated over time. > If the plugin you're looking for isn't in this list, check ๐ Tracking: Flat Config support. This list treats flat config support as a prerequisite for full ESLint 9 support. ๐ Status emoji key: <ul> <li>โ Support released!</li> <li>๐ฆ Merged; pending release</li> <li>๐๏ธ PR was at least started</li> <li>๐ Issue filed; waiting for PR</li> </ul> <table> <thead> <th>Name</th> <th>Status</th> <th>Issue</th> <th>Commit / PR</th> <th>Version</th> </thead> <tbody> <tr> <th colspan="5">Plugins</th> </tr> <tr> <td> <a href="https://github.com/nuxt/eslint"> <code>@nuxt/eslint</code> </a> </td> <td>โ </td> <td></td> <td></td> <td>*</td> </tr> <tr> <td> <a href="https://github.com/typescript-eslint/typescript-eslint"> <code>@typescript-eslint</code> </a> </td> <td>โ </td> <td> <a href="https://github.com/typescript-eslint/typescript-eslint/issues/8
Unverified for your environment
Select your OS to check compatibility.
2 Fixes
Ensure ESLint v9 Compatibility for Community Plugins
With the release of ESLint v9, many community plugins need updates to support the new features and configurations introduced in this version. The lack of compatibility can lead to linting errors or unexpected behavior in projects using these plugins.
Awaiting Verification
Be the first to verify this fix
- 1
Identify Plugins Needing Updates
Review the list of popular ESLint plugins and check their current status regarding ESLint v9 support. Focus on those that have not yet released updates or have pending pull requests.
bashcurl -s https://api.github.com/repos/{owner}/{repo}/issues | jq '.[] | select(.title | contains("ESLint v9"))' - 2
Update Plugin Dependencies
For each plugin that has released a compatible version, update your project's package.json to include the latest version of the plugin. Run the command to install the updates.
bashnpm install @nuxt/eslint@latest @typescript-eslint@latest - 3
Test Linting Functionality
Run your linting command to ensure that all plugins are functioning correctly with ESLint v9. Check for any errors or warnings that may indicate compatibility issues.
bashnpx eslint . - 4
Monitor Plugin Repositories
Keep an eye on the repositories of the plugins you are using for any new updates or issues related to ESLint v9. This will help you stay informed about future compatibility fixes.
bashgit fetch origin && git log --oneline - 5
Contribute to Plugin Development
If you find that a plugin is not being updated, consider contributing to the plugin's repository by filing an issue or submitting a pull request to help add ESLint v9 support.
bashgit clone https://github.com/{owner}/{repo}.git && cd {repo} && git checkout -b update-eslint-v9
Validation
Confirm that all linting commands run without errors and that the output reflects the expected behavior of the updated plugins. Additionally, check the plugin repositories for any merged pull requests or releases indicating ESLint v9 support.
Sign in to verify this fix
1 low-confidence fix
Ensure ESLint v9 Compatibility for Community Plugins
With the release of ESLint v9, many community plugins need to update their configurations to support the new flat config format. This is essential for ensuring that users can utilize the latest features and improvements in ESLint without encountering compatibility issues.
Awaiting Verification
Be the first to verify this fix
- 1
Identify Plugins Needing Updates
Review the list of popular ESLint plugins and identify which ones do not yet support ESLint v9. This can be done by checking their repositories for any issues or pull requests related to ESLint v9 support.
bashcurl -s https://api.github.com/repos/{owner}/{repo}/issues | jq '.[] | select(.title | contains("ESLint v9"))' - 2
File Issues for Unsupported Plugins
For each plugin that does not support ESLint v9, file an issue in their respective GitHub repository requesting support for ESLint v9 and flat config. Provide details on the importance of this update.
bashecho 'Please add support for ESLint v9 and flat config to improve compatibility and functionality.' | gh issue create --title 'Request ESLint v9 Support' --body - 3
Monitor Pull Requests and Issues
Keep track of the issues and pull requests related to ESLint v9 support in the plugins' repositories. Use GitHub notifications or a project management tool to stay updated on their progress.
bashgh pr list --state open --search 'ESLint v9' - 4
Test Plugin Compatibility
Once plugins have been updated, install the latest versions and run ESLint with the plugins to ensure they work correctly with ESLint v9. Check for any errors or warnings during linting.
bashnpm install {plugin-name} && npx eslint . - 5
Document Compatibility Status
Update the tracking issue with the current status of each plugin regarding ESLint v9 support. This helps the community stay informed about which plugins are compatible and which are not.
bashecho 'Updated compatibility status for {plugin-name}: โ ' >> compatibility-status.md
Validation
Confirm the fix by running ESLint with the updated plugins and checking for successful linting without errors. Additionally, ensure that the tracking issue reflects the latest status of plugin compatibility.
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep