eslint-config/eslint-plugin: Support "Flat Config" (ESLint 9)
未关闭
@MCanhisares 已经在做这个了。
开始于 2024年3月21日。
Never gets stale
Resolution: Fixed
- 主要语言
- C++
- 星标
- 127k
- 派生
- 25.3k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 4
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。