mdn / developer-portal

The code that generates the MDN Web Docs Developer Portal.
Mozilla Public License 2.0
61 stars 38 forks source link

Update dependency eslint-plugin-jsdoc to v30 #1739

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
eslint-plugin-jsdoc devDependencies major 29.2.0 -> 30.0.3

Release Notes

gajus/eslint-plugin-jsdoc ### [`v30.0.3`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/v30.0.3) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v30.0.2...v30.0.3) ##### Bug Fixes - **`require-jsdoc`:** handle `MethodDefinition` context without erring when using `exemptEmptyFunctions` and `exemptEmptyConstructors`; fixes [#​613](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/613) ([08b5820](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/08b5820cb9e27307123828785883a50f12a1b3b6)) ### [`v30.0.2`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/v30.0.2) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v30.0.1...v30.0.2) ##### Bug Fixes - **`require-jsdoc`:** ensure conditionally checking `Property`/`ObjectProperty`/`ClassProperty` as parents for arrow function expressions; fixes [#​612](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/612) ([eac8357](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/eac8357c0ea7d82a1def12eb914ef5d71faab1c9)) ### [`v30.0.1`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/v30.0.1) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v30.0.0...v30.0.1) ##### Bug Fixes - **`require-jsdoc`:** avoid error with `checkConstructors: false` when attempting to check tags; fixes [#​611](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/611) ([854fb24](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/854fb244be890d5ca5af98bd678580256ca7b984)) ### [`v30.0.0`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/v30.0.0) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v29.2.0...v30.0.0) ##### Features - **`check-types`, `no-undefined-types`, `valid-types`:** Add `structuredTags` setting to control whether the type and namepath portions should be checked for validity and whether such portions are required, and to let user-defined "namepath-defining" tags be added to defined types. Closes [#​481](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/481) ([89f2ad0](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/89f2ad0f531bcba4b9c7ddf6385eac62f904c479)) - **`valid-types`:** change `allowEmptyNamepaths` default to `false`, ensuring tags which expect names per docs will be reported ([842381a](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/842381a84b5c93594672c105c75538669eb1f732)) ##### BREAKING CHANGES - **`check-types`, `no-undefined-types`, `valid-types`:** Drops `checkSeesForNamepaths` setting. Use `{settings: {jsdoc: {structuredTags: {name: 'namepath', type: false, required: ['name'],}}}}` instead. Also: 1\. Clarifies in more cases where a problem is specific to the mode or not 2\. Reports simultaneous invalid name _and_ type errors 3\. `typdef` now requires `allowEmptyNamepaths: false,` to report empty names (as with other tags) 4\. Requires a name for `event` and `external` (and `extends` in jsdoc mode); some tweaking of other tags per docs

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.