Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update eslint packages (major) #56894

Merged
merged 3 commits into from Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -169,6 +169,7 @@ module.exports = {
'jsdoc/require-param': 'off',
'jsdoc/check-param-names': 'off',
'@typescript-eslint/no-empty-function': 'off',
'prettier/prettier': [ 'error', { parser: 'babel' } ],
},
},
],
Expand Down
7 changes: 7 additions & 0 deletions .yarnrc.yml
Expand Up @@ -105,6 +105,13 @@ logFilters:
- pattern: "wp-calypso@workspace:. provides react-dom (pff688) with version 17.0.2, which doesn't satisfy what @automattic/components and some of its descendants request"
level: discard

# Depends on
# @wordpress/eslint-plugin: https://github.com/WordPress/gutenberg/issues/35576
- pattern: "@automattic/wpcom-editing-toolkit@workspace:apps/editing-toolkit provides eslint (pcb2ba) with version 8.4.1, which doesn't satisfy what @wordpress/eslint-plugin and some of its descendants request"
level: discard
- pattern: "wp-calypso@workspace:. provides eslint (p3918c) with version 8.4.1, which doesn't satisfy what @wordpress/eslint-plugin and some of its descendants request"
level: discard

# `postinstall` script fails (https://github.com/pmndrs/react-spring/issues/1668)
# Fixed in https://github.com/yarnpkg/berry/pull/3661, we need for a new yarn release.
# Work around it by disabling scripts for this package (see `dependenciesMeta` in `package.json`). The workaround can be removed
Expand Down
2 changes: 1 addition & 1 deletion apps/editing-toolkit/package.json
Expand Up @@ -97,7 +97,7 @@
"@wordpress/url": "3.3.1",
"classnames": "^2.3.1",
"enzyme": "^3.11.0",
"eslint": "^7.32.0",
"eslint": "^8.4.1",
"jest": "^27.3.1",
"lodash": "^4.17.21",
"moment": "^2.26.0",
Expand Down
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -173,8 +173,8 @@
"@types/wordpress__data": "^4.6.10",
"@types/wordpress__data-controls": "^2.2.0",
"@types/wordpress__editor": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"@wordpress/base-styles": "^4.0.4",
"@wordpress/components": "^19.1.3",
"@wordpress/data": "^6.1.4",
Expand Down Expand Up @@ -206,17 +206,17 @@
"css-loader": "^3.6.0",
"debug": "^4.1.1",
"doctrine": "^3.0.0",
"eslint": "^7.32.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-inclusive-language": "^2.1.1",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-inclusive-language": "^2.2.0",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-jsdoc": "^37.2.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-md": "^1.0.19",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-wpcalypso": "workspace:^",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
Expand Down Expand Up @@ -289,7 +289,7 @@
"@automattic/calypso-jest": "workspace:^",
"@bartekbp/typescript-checkstyle": "^5.0.0",
"bunyan": "^1.8.15",
"eslint-nibble": "^7.0.0",
"eslint-nibble": "^8.0.0",
"husky": "^7.0.4"
},
"resolutions": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-wpcalypso/package.json
Expand Up @@ -25,7 +25,7 @@
"@babel/core": ">=7.16.5",
"eslint": ">=7.32.0",
"eslint-plugin-inclusive-language": "^2.1.1",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-jsdoc": "^37.2.0",
"eslint-plugin-react-hooks": "^4.3.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/package.json
Expand Up @@ -23,7 +23,7 @@
"@automattic/calypso-typescript-config": "workspace:^",
"@babel/core": "^7.16.0",
"enzyme": "^3.11.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-mocha": "^10.0.2",
"postcss": "^8.3.11",
"react-dom": "^17.0.2",
"webpack": "^5.63.0"
Expand All @@ -44,7 +44,7 @@
"chromedriver": "^89.0.0",
"config": "^1.28.0",
"eslint": "^7.28.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jest": "^25.3.0",
"esm": "^3.2.25",
"execa": "^5.0.0",
"ffmpeg-static": "^2.4.0",
Expand Down