Version 19.0.0
Major
-
Configured the ESLint
envto bees2021, instead ofes6. -
Support
eslint-config-prettierv8, fixing #3. -
Enabled
eslint-plugin-jsdocrules: -
Configured
eslint-plugin-jsdocto assume@exampleJSDoc tag content (following the caption) is markdown, and Prettier lint the contents of markdown code blocks fenced with these labels (case-insensitive):JSJSXJavaScript
If your example JS code has deliberate parse errors (e.g. due to custom escapes for
*/used within the code, see gajus/eslint-plugin-jsdoc#710), use a/* eslint-disable jsdoc/check-examples */comment. -
Configured
eslint-plugin-jsdocpreferred JSDoc types viasettings.jsdoc.preferredTypes:- Dots in
.<>types aren’t preferred, e.g.Array.<string>now auto-fixes toArray<string>. []types aren’t preferred, e.g.string[]now auto-fixes toArray<string>.
- Dots in
Patch
- Updated the
eslint-plugin-jsdocpeer dependency to25 - 32. - Updated dependencies.
- Removed rules that conflict with
eslint-plugin-prettier(see prettier/eslint-plugin-prettier#65) and are disabled via theplugin:prettier/recommendedconfig anyway: