eslint-config/eslint-plugin: Support "Flat Config" (ESLint 9)
@MCanhisares is already working on this.
Since Mar 21, 2024.
- Dominant language
- C++
- Stars
- 127k
- Forks
- 25.3k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 4
Description
Description
👋 Coming over from https://github.com/eslint/eslint/issues/18093: ESLint is migrating to a new "flat config" format that will be the default in ESLint v9.
It doesn't look like @react-native-community/eslint-plugin has support yet. I'm posting this issue here as a reference & cross-linking it to the table in https://github.com/eslint/eslint/issues/18093. If there's anything technical blocking the extension from supporting flat configs, please let us know - we'd be happy to try to help! 💜
Additional resources:
- Configuration Migration Guide
- (edit) Plugin Migration Guide
- Blog posts on the new config system: Part 1: Background, Part 2: Introduction to flat config
(sorry for not using the issue template properly - I wasn't sure how best to report this)
Steps to reproduce
- Have an
eslint.config.js(flat config) - See setup instructions https://www.npmjs.com/package/@react-native-community/eslint-plugin
- Note the missing mention of flat config
React Native Version
n/a
Affected Platforms
Other (please specify)
Output of npx react-native info
n/a
Stacktrace or Logs
n/a
Reproducer
n/a
Screenshots and Videos
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.