Skip to content

Commit

Permalink
Update ESLint config for TypeScript files (#40584)
Browse files Browse the repository at this point in the history
* Update ESLint config for TypeScript files

* Change no-undefined-types to warning

* Remove unsed eslint-disable

* Restore 'jsdoc/require-returns'

* Turn off jsdoc/no-undefined-types

* Fix lints caused by turning off "jsdoc/no-undefined-types"

* Clean up jetpack-mu-wpcom/eslint.config.mjs

* Add changelog

* Restore plugins/jetpack/.eslintignore

* Turn back jsdoc/no-undefined-types ON with disabled reporting

* Re-enable param rules for now

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

Upstream-Ref: Automattic/jetpack@9f6b920
  • Loading branch information
zinigor authored and matticbot committed Dec 16, 2024
1 parent c764d5c commit c1b9a91
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

This is an alpha version! The changes listed here are not final.

### Changed
- Updated package dependencies.

## [0.4.3] - 2024-12-09
### Changed
- Updated package dependencies. [#40363]
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2",
"automattic/jetpack-connection": "^6.2.0",
"automattic/jetpack-assets": "^4.0.1",
"automattic/jetpack-connection": "^6.2.1-alpha",
"automattic/jetpack-assets": "^4.0.2-alpha",
"automattic/jetpack-constants": "^3.0.1",
"automattic/jetpack-status": "^5.0.1",
"automattic/jetpack-config": "^3.0.0"
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"@automattic/calypso-color-schemes": "3.1.3",
"@automattic/color-studio": "2.6.0",
"@automattic/jetpack-analytics": "^0.1.33",
"@automattic/jetpack-api": "^0.17.20",
"@automattic/jetpack-components": "^0.64.2-alpha",
"@wordpress/base-styles": "5.13.0",
"@wordpress/block-editor": "14.8.0",
"@wordpress/data": "10.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/icons": "10.13.0",
"@automattic/jetpack-api": "^0.17.21-alpha",
"@automattic/jetpack-components": "^0.65.0-alpha",
"@wordpress/base-styles": "5.14.0",
"@wordpress/block-editor": "14.9.0",
"@wordpress/data": "10.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/icons": "10.14.0",
"chart.js": "3.7.1",
"clsx": "2.1.1",
"fast-json-stable-stringify": "2.1.0",
Expand Down Expand Up @@ -69,8 +69,8 @@
"@testing-library/dom": "10.4.0",
"@testing-library/preact": "3.2.4",
"@testing-library/react": "16.0.1",
"@wordpress/babel-plugin-import-jsx-pragma": "5.13.0",
"@wordpress/browserslist-config": "6.13.0",
"@wordpress/babel-plugin-import-jsx-pragma": "5.14.0",
"@wordpress/browserslist-config": "6.14.0",
"babel-jest": "29.4.3",
"concurrently": "7.6.0",
"core-js": "3.38.1",
Expand Down

0 comments on commit c1b9a91

Please sign in to comment.