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 50abe66 commit 119f328
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.3-alpha] - unreleased

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

### Changed
- Updated package dependencies.

## [0.2.2] - 2024-12-04
### Changed
- Updated package dependencies. [#40363] [#40372]
Expand Down Expand Up @@ -87,6 +94,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- ExPlat: add condition to prevent fetching the experiment assignment if there's not anon id (meaning that Tracks is likely disabled) [#38327]
- Updated package dependencies. [#38132]

[0.2.3-alpha]: https://github.com/Automattic/jetpack-explat/compare/v0.2.2...v0.2.3-alpha
[0.2.2]: https://github.com/Automattic/jetpack-explat/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/Automattic/jetpack-explat/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/Automattic/jetpack-explat/compare/v0.1.15...v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2",
"automattic/jetpack-connection": "^6.2.0"
"automattic/jetpack-connection": "^6.2.1-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-explat",
"version": "0.2.2",
"version": "0.2.3-alpha",
"description": "A package for running A/B tests on the Experimentation Platform (ExPlat) in the plugin.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/explat/#readme",
"bugs": {
Expand Down Expand Up @@ -42,8 +42,8 @@
"dependencies": {
"@automattic/explat-client": "0.1.0",
"@automattic/explat-client-react-helpers": "0.1.1",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/url": "4.13.0",
"@wordpress/api-fetch": "7.14.0",
"@wordpress/url": "4.14.0",
"cookie": "1.0.1",
"qs": "6.12.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/class-explat.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ExPlat {
*
* @var string
*/
const PACKAGE_VERSION = '0.2.2';
const PACKAGE_VERSION = '0.2.3-alpha';

/**
* Initializer.
Expand Down

0 comments on commit 119f328

Please sign in to comment.