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 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Squashed commit of the following:
commit 1a7d792
Author: Sergio Cinos <[email protected]>
Date:   Tue Dec 14 12:57:42 2021 +0100

    Dedupe packges

commit 718907c
Author: Sergio Cinos <[email protected]>
Date:   Tue Dec 14 12:42:02 2021 +0100

    Set explicit parser for .md.js files

commit 724936a
Author: Sergio Cinos <[email protected]>
Date:   Tue Dec 14 12:34:33 2021 +0100

    More eslint updates

commit 7cd106d
Author: Sergio Cinos <[email protected]>
Date:   Tue Dec 14 12:31:50 2021 +0100

    Update eslint-plugin-inclusive-language and eslint-plugin-react

commit ab6942b
Author: Sergio Cinos <[email protected]>
Date:   Tue Dec 14 12:11:17 2021 +0100

    Ignore yarn warnings

commit 1b3e83a
Author: Sergio Cinos <[email protected]>
Date:   Tue Dec 14 12:05:55 2021 +0100

    Update `@typescript-eslint/eslint-plugin` and `@typescript-eslint/parser`

commit 94daa23
Author: Renovate Bot <[email protected]>
Date:   Mon Dec 13 21:26:54 2021 +0000

    fix(deps): update eslint packages
  • Loading branch information
scinos committed Dec 14, 2021
commit 294802326dcff9be178721ddfd9d9c88c435fb04
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
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 @@ -209,14 +209,14 @@
"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-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": "^10.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.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
4 changes: 2 additions & 2 deletions test/e2e/package.json
Original file line number Diff line number Diff line change
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
91 changes: 65 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7275,7 +7275,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^4.31.0, @typescript-eslint/eslint-plugin@npm:^4.33.0":
"@typescript-eslint/eslint-plugin@npm:^4.31.0":
version: 4.33.0
resolution: "@typescript-eslint/eslint-plugin@npm:4.33.0"
dependencies:
Expand All @@ -7297,6 +7297,28 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^5.7.0":
version: 5.7.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.7.0"
dependencies:
"@typescript-eslint/experimental-utils": 5.7.0
"@typescript-eslint/scope-manager": 5.7.0
debug: ^4.3.2
functional-red-black-tree: ^1.0.1
ignore: ^5.1.8
regexpp: ^3.2.0
semver: ^7.3.5
tsutils: ^3.21.0
peerDependencies:
"@typescript-eslint/parser": ^5.0.0
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 8259a3fb3f038c5058c5536271edb0630c0dc506c0a91d66172d54d43a8c08aab85696639950e576f9e0eba8b92d934744b6b589dc1f32deb657e43bcc2b9e6d
languageName: node
linkType: hard

"@typescript-eslint/experimental-utils@npm:4.33.0, @typescript-eslint/experimental-utils@npm:^4.0.1":
version: 4.33.0
resolution: "@typescript-eslint/experimental-utils@npm:4.33.0"
Expand All @@ -7313,7 +7335,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/experimental-utils@npm:^5.0.0":
"@typescript-eslint/experimental-utils@npm:5.7.0, @typescript-eslint/experimental-utils@npm:^5.0.0":
version: 5.7.0
resolution: "@typescript-eslint/experimental-utils@npm:5.7.0"
dependencies:
Expand All @@ -7329,7 +7351,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^4.31.0, @typescript-eslint/parser@npm:^4.33.0":
"@typescript-eslint/parser@npm:^4.31.0":
version: 4.33.0
resolution: "@typescript-eslint/parser@npm:4.33.0"
dependencies:
Expand All @@ -7346,6 +7368,23 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^5.7.0":
version: 5.7.0
resolution: "@typescript-eslint/parser@npm:5.7.0"
dependencies:
"@typescript-eslint/scope-manager": 5.7.0
"@typescript-eslint/types": 5.7.0
"@typescript-eslint/typescript-estree": 5.7.0
debug: ^4.3.2
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 4b70b08896ab7955e59c1e85fdb7b7b70a3e947b04e5af3d4b3dd7c3473492541eaacf7b0004572f2ad74bde37078454becd71e4fdea91dec158308f05fa3056
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:4.33.0":
version: 4.33.0
resolution: "@typescript-eslint/scope-manager@npm:4.33.0"
Expand Down Expand Up @@ -16588,16 +16627,16 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-inclusive-language@npm:^2.1.1":
version: 2.1.1
resolution: "eslint-plugin-inclusive-language@npm:2.1.1"
"eslint-plugin-inclusive-language@npm:^2.2.0":
version: 2.2.0
resolution: "eslint-plugin-inclusive-language@npm:2.2.0"
dependencies:
humps: ^2.0.1
checksum: fc759f94b9fbbbaf592f39027ce09002737f0c6ebc59df2b8449dd8778e7c25e97894c4ff6b90d7785326b792189397f6f5531fda535ebaa20dfef0ae5ee342c
checksum: c491a16e2a958ffad0568045b1dac341a4304ecf5dd16351c33b32e19aef641d039da0be92f3e3a75ef57618e4903a514f368285ee76c0bdd160417a0f95171c
languageName: node
linkType: hard

"eslint-plugin-jest@npm:^24.1.3, eslint-plugin-jest@npm:^24.3.6":
"eslint-plugin-jest@npm:^24.1.3":
version: 24.7.0
resolution: "eslint-plugin-jest@npm:24.7.0"
dependencies:
Expand Down Expand Up @@ -16715,27 +16754,27 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-mocha@npm:^10.0.3":
version: 10.0.3
resolution: "eslint-plugin-mocha@npm:10.0.3"
"eslint-plugin-mocha@npm:^10.0.2":
version: 10.0.2
resolution: "eslint-plugin-mocha@npm:10.0.2"
dependencies:
eslint-utils: ^3.0.0
ramda: ^0.27.1
peerDependencies:
eslint: ">=7.0.0"
checksum: e677a7c095f9ecac35f211de4e38b164119e6b8b6ddfc8be56c45a01a3464cb4368826cb947261391bc54ef832086f5f869d900852d8234ef6c765f39535014a
checksum: 77884930d89338b8cb66e5c7b4d950de5606f8aa87f8bf2ce93762a33b1e5b01e328081c8b193038a92e0e677b7f60687ef839087ee365a9049db11ef3e979a5
languageName: node
linkType: hard

"eslint-plugin-mocha@npm:^9.0.0":
version: 9.0.0
resolution: "eslint-plugin-mocha@npm:9.0.0"
"eslint-plugin-mocha@npm:^10.0.3":
version: 10.0.3
resolution: "eslint-plugin-mocha@npm:10.0.3"
dependencies:
eslint-utils: ^3.0.0
ramda: ^0.27.1
peerDependencies:
eslint: ">=7.0.0"
checksum: f9cb79cc97888c8933491de384c81d73939cf96cc862e731a80f67fc1c7e14bd86442606f02c0cbefe602f132808b59383db4f1bea5cea2f2675469a27e9ca88
checksum: e677a7c095f9ecac35f211de4e38b164119e6b8b6ddfc8be56c45a01a3464cb4368826cb947261391bc54ef832086f5f869d900852d8234ef6c765f39535014a
languageName: node
linkType: hard

Expand Down Expand Up @@ -16778,9 +16817,9 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-react@npm:^7.22.0, eslint-plugin-react@npm:^7.27.0":
version: 7.27.0
resolution: "eslint-plugin-react@npm:7.27.0"
"eslint-plugin-react@npm:^7.22.0, eslint-plugin-react@npm:^7.27.1":
version: 7.27.1
resolution: "eslint-plugin-react@npm:7.27.1"
dependencies:
array-includes: ^3.1.4
array.prototype.flatmap: ^1.2.5
Expand All @@ -16798,7 +16837,7 @@ __metadata:
string.prototype.matchall: ^4.0.6
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
checksum: 6d75ab045a9eb1f64f81b7ad3dadce21b9dc7a3e637a84d22ff3b235a9299d8f8693054ea8a4eceb737b4021fd0cb04c0923f83daa5d664c610b44b04008bdb5
checksum: 7ee0cf33034fb5927f169ec45057dbc8b2c528682fe6c33716bf4b790e10fe2a0cc50bb91c4b78e7abf6e04536e44ff2e67c70b3bacc936defdbb05fb74e3a06
languageName: node
linkType: hard

Expand Down Expand Up @@ -37704,8 +37743,8 @@ [email protected]:
"@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 @@ -37742,14 +37781,14 @@ [email protected]:
eslint-config-prettier: ^8.3.0
eslint-nibble: ^8.0.0
eslint-plugin-import: ^2.25.3
eslint-plugin-inclusive-language: ^2.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: ^10.0.3
eslint-plugin-prettier: ^4.0.0
eslint-plugin-react: ^7.27.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 @@ -37845,8 +37884,8 @@ [email protected]:
config: ^1.28.0
enzyme: ^3.11.0
eslint: ^7.28.0
eslint-plugin-jest: ^24.3.6
eslint-plugin-mocha: ^9.0.0
eslint-plugin-jest: ^25.3.0
eslint-plugin-mocha: ^10.0.2
esm: ^3.2.25
execa: ^5.0.0
ffmpeg-static: ^2.4.0
Expand Down