react / react/react-native

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

Đang mở
#42,996 28 bình luận 34 reaction 1 người được giao Xem trên GitHub

@MCanhisares đang làm issue này rồi.

Từ ngày 21/3/2024.

Never gets stale Resolution: Fixed
Ngôn ngữ chính
C++
Star
127k
Fork
25.3k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.