Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ESLint v 9x Compatibility Changes#3148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Bilal-S wants to merge1 commit intoairbnb:master
base:master
Choose a base branch
Loading
fromBilal-S:eslint9changes

Conversation

Bilal-S
Copy link

@Bilal-SBilal-S commentedAug 16, 2025
edited
Loading

These are the changes for ESLint 9.x branch compatibility.
Made all changes needed that I could find to run with new ESLint versions including removing some older packages and dependencies. Similarly some packages were added. Please see changes to seepackage.json files.
This maybe too large of a change and may need to be broken down further.
I was limited to Windows for testing.

enov and Megapixel99 reacted with hooray emoji
"test":"npm run --silent test:config && npm run --silent test:config:base",
"test:config":"cd packages/eslint-config-airbnb; npm test",
"test:config:base":"cd packages/eslint-config-airbnb-base; npm test",
"test:config":"cd packages/eslint-config-airbnb && npm test",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

why is this needed?cd should never fail regardless

},
"peerDependencies": {
"eslint":"^7.32.0 || ^8.2.0",
"eslint":"^9.8.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this is a breaking change. please limit yourself to things that work with eslint 7+.

// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-curly-newline.md
'react/jsx-curly-newline':['error',{
// https://eslint.style/rules/jsx/jsx-curly-newline
'@stylistic/jsx/jsx-curly-newline':['error',{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

adding a new peer dep is a breaking change; we won't be doing that.

vladshcherbin reacted with laugh emoji
@ljharbljharb marked this pull request as draftAugust 19, 2025 03:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ljharbljharbljharb requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Bilal-S@ljharb

[8]ページ先頭

©2009-2025 Movatter.jp