Skip to content

lints-jsdoc

See the source

Enforces JSDoc documentation standards across your codebase using eslint-plugin-jsdoc.

  • All public functions must have descriptions
  • @param tags with types and descriptions
  • @returns tags with types
  • Valid tag names and types
  • TypeScript-compatible JSDoc mode
["src/**/*.{js,mjs,cjs}"]
uglify({
with: ["lints-jsdoc"],
options: {
"lints-jsdoc": {
files: ["src/**/*.js"],
ignores: ["src/tests/**"],
overrides: {
"jsdoc/require-description": "warn",
},
},
},
})

Array of glob patterns for files this config applies to.

Array of glob patterns for files to exclude.

An object of JSDoc rule overrides merged on top of the defaults.