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

Update changelog and package file for eslint plugin wpcalypso #72475

Merged
merged 2 commits into from
Jan 24, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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}`).
noahtallen marked this conversation as resolved.
Show resolved Hide resolved

#### 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