react / react/react-native

eslint-config/eslint-plugin: Support "Flat Config" (ESLint 9)

オープン
#42,996 コメント 28 件 リアクション 34 件 担当者 1 名 GitHub で見る

@MCanhisares がすでに取り組んでいます。

2024年3月21日 から。

Never gets stale Resolution: Fixed
主要言語
C++
スター
127k
フォーク
25.3k
平均マージ
1日 23時間
マージ済み PR(30日)
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:

(sorry for not using the issue template properly - I wasn't sure how best to report this)

Steps to reproduce
  1. Have an eslint.config.js (flat config)
  2. See setup instructions https://www.npmjs.com/package/@react-native-community/eslint-plugin
  3. 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。