Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: Disable jsdoc/check-indentation to fix bullet list formatting
Bulleted lists and other types of indented sections are incorrectly
flagged by the current version of the `jsdoc/check-indentation` rule,
so it has been temporarily disabled.

We can bring it back in a later version after updating the plugin to
61.4, which includes a new option that can fix this problem. That has
been postponed for now because it requires bumping the minimum
supported Node.js version.

Fixes #404
  • Loading branch information
Gudahtt committed Dec 3, 2025
commit dcd1063fcc85081023ef4057e2c772a9a6827e9c
2 changes: 1 addition & 1 deletion packages/typescript/rules-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"jsdoc/check-access": "error",
"jsdoc/check-alignment": "error",
"jsdoc/check-examples": "off",
"jsdoc/check-indentation": "error",
"jsdoc/check-indentation": "off",
"jsdoc/check-line-alignment": "off",
"jsdoc/check-param-names": "error",
"jsdoc/check-property-names": "error",
Expand Down
7 changes: 4 additions & 3 deletions packages/typescript/src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,10 @@ const config = createConfig({

'jsdoc/check-syntax': 'error',

// This is enabled here rather than in the base config because it doesn't play nicely with
// multi-line JSDoc types.
'jsdoc/check-indentation': 'error',
// This is disabled because it doesn't work with bullet lists, and other types of indented
// sections. This issue is fixed in later versions, we can re-enable it after updating.
// See https://github.com/gajus/eslint-plugin-jsdoc/issues/541 for details
'jsdoc/check-indentation': 'off',

// Use TypeScript types rather than JSDoc types.
'jsdoc/no-types': 'error',
Expand Down
Loading