Skip to content

Commit

Permalink
Update to eslint 9 (#40555)
Browse files Browse the repository at this point in the history
Eslint 9 brings a new config format, which means this PR also rewrites
all the eslint configs. I took the opportunity to clean them up
(although a good bit of that wound up in earlier PRs), and added code to
fetch the textdomain from composer.json and whether the project uses
React from package.json so we don't need to have so many boilerplate
configs that just set a textdomain or enable React rules.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12280005125

Upstream-Ref: Automattic/jetpack@9e3ae2f
  • Loading branch information
anomiex authored and matticbot committed Dec 11, 2024
1 parent 59ff0da commit 1976e50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"require": {
"php": ">=7.2",
"automattic/jetpack-admin-ui": "^0.5.1",
"automattic/jetpack-assets": "^4.0.1",
"automattic/jetpack-connection": "^6.2.0",
"automattic/jetpack-assets": "^4.0.2-alpha",
"automattic/jetpack-connection": "^6.2.1-alpha",
"automattic/jetpack-my-jetpack": "^5.1.2-alpha",
"automattic/jetpack-plans": "^0.5.1"
},
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"@automattic/calypso-color-schemes": "3.1.3",
"@automattic/jetpack-base-styles": "^0.6.38",
"@automattic/jetpack-base-styles": "^0.6.39-alpha",
"@automattic/jetpack-webpack-config": "workspace:*",
"@babel/core": "7.26.0",
"@babel/preset-react": "7.25.9",
Expand Down Expand Up @@ -59,11 +59,11 @@
},
"dependencies": {
"@automattic/jetpack-analytics": "^0.1.33",
"@automattic/jetpack-api": "^0.17.20",
"@automattic/jetpack-base-styles": "^0.6.38",
"@automattic/jetpack-api": "^0.17.21-alpha",
"@automattic/jetpack-base-styles": "^0.6.39-alpha",
"@automattic/jetpack-components": "^0.64.2-alpha",
"@automattic/jetpack-connection": "^0.36.1",
"@automattic/jetpack-shared-extension-utils": "^0.16.1",
"@automattic/jetpack-connection": "^0.36.2-alpha",
"@automattic/jetpack-shared-extension-utils": "^0.16.2-alpha",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/blob": "4.13.0",
"@wordpress/block-editor": "14.8.0",
Expand Down

0 comments on commit 1976e50

Please sign in to comment.