Skip to content

Commit

Permalink
fix(deps): update eslint packages (major) (#56894)
Browse files Browse the repository at this point in the history
* fix(deps): update eslint packages

* Squashed commit of the following:

commit 1a7d792
Author: Sergio Cinos <sergio.cinos@gmail.com>
Date:   Tue Dec 14 12:57:42 2021 +0100

    Dedupe packges

commit 718907c
Author: Sergio Cinos <sergio.cinos@gmail.com>
Date:   Tue Dec 14 12:42:02 2021 +0100

    Set explicit parser for .md.js files

commit 724936a
Author: Sergio Cinos <sergio.cinos@gmail.com>
Date:   Tue Dec 14 12:34:33 2021 +0100

    More eslint updates

commit 7cd106d
Author: Sergio Cinos <sergio.cinos@gmail.com>
Date:   Tue Dec 14 12:31:50 2021 +0100

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

commit ab6942b
Author: Sergio Cinos <sergio.cinos@gmail.com>
Date:   Tue Dec 14 12:11:17 2021 +0100

    Ignore yarn warnings

commit 1b3e83a
Author: Sergio Cinos <sergio.cinos@gmail.com>
Date:   Tue Dec 14 12:05:55 2021 +0100

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

commit 94daa23
Author: Renovate Bot <bot@renovateapp.com>
Date:   Mon Dec 13 21:26:54 2021 +0000

    fix(deps): update eslint packages

* Dedupe

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sergio Cinos <sergio.cinos@gmail.com>
  • Loading branch information
3 people committed Dec 14, 2021
1 parent d95785e commit d2ec641
Show file tree
Hide file tree
Showing 7 changed files with 283 additions and 99 deletions.
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

0 comments on commit d2ec641

Please sign in to comment.