Skip to content

Commit

Permalink
Update changelog and package file for eslint plugin wpcalypso (#72475)
Browse files Browse the repository at this point in the history
* Update changelog and package file for eslint plugin
  • Loading branch information
noahtallen committed Jan 24, 2023
1 parent 1704eba commit 3f4b753
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions packages/eslint-plugin-wpcalypso/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
#### Unreleased

#### Breaking change

- For jsdoc types `array` and `object`, prefer capitalized variants to match the
WordPress coding style. Violations are autofixable.
- Updated peer dependency requirement `eslint-plugin-jsdoc` to v39.6.7.
#### v7.0.0 (2022-01-24)

- Breaking: For JSDoc types like `{object}`, prefer capitalized variants to match
the WordPress coding style. (Like `{Object}`.) Violations are autofixable. You
can override this by setting `settings.jsdoc.preferredTypes.object` to 'object'
in your eslint config.
- Breaking: Updated peer dependency `eslint-plugin-jsdoc` to v39.6.7, which includes
fixes to some JSDoc rules like `jsdoc/require-returns-check`. This may result
in more rule violations which were not previously detected.
- Breaking: Require at least NodeJS 14, since dependencies dropped support for older versions.
- Enhancement: The `jsdoc/check-types` rule now sets `unifyParentAndChildTypeChecks`
to true to enforce `preferredTypes` on unions as well (e.g. `{string | Object}`).

#### v6.1.0 (2022-08-24)

Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-wpcalypso/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-wpcalypso",
"version": "6.1.0",
"version": "7.0.0",
"description": "Custom ESLint rules for the WordPress.com Calypso project.",
"repository": {
"type": "git",
Expand All @@ -21,7 +21,7 @@
"lib/"
],
"engines": {
"node": ">=10"
"node": ">=14"
},
"peerDependencies": {
"@babel/core": ">=7.17.5",
Expand Down

0 comments on commit 3f4b753

Please sign in to comment.