jsdoc/escape-inline-tags
eslint-plugin-jsdoc
Safe autofixRecommended
eslint.config.js
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/escape-inline-tags": "error",
},
},
];Reports use of JSDoc tags in non-tag positions (in the default "typescript" mode).
/**\r
* Supports @yearly and\r
* more.\r
*/\r
function quux () {}/**
* @file Main CLI that is run via the `npm init @eslint/config` command.
*/Examples from the ESLint documentation.
jsdoc/escape-inline-tags
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/escape-inline-tags": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
This rule checks the values for a handful of tags: @version, @since, @license and @author.
Requires that all function parameters are documented with a @param tag.
Reports invalid alignment of JSDoc block asterisks.