# no-missing-syntax

Rule `jsdoc/no-missing-syntax`. Reports when certain comment structures are always expected.

- Source: jsdoc
- Technologies: JSDoc
- Kind: style
- Needs type information: no
- Autofix: no
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #2097 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `jsdoc/no-missing-syntax` | no | no | package `eslint-plugin-jsdoc` | [docs](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-missing-syntax.md#repos-sticky-header) |

## Code examples

### Incorrect: the rule reports this

```ts
/**
 * @implements {Bar|Foo}
 */
function quux () {
```

### Correct: the rule accepts this

```ts
/**
 * @implements {Bar|Foo}
 */
function quux () {
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
import jsdoc from "eslint-plugin-jsdoc";

export default [
  {
    plugins: { jsdoc },
    rules: {
      "jsdoc/no-missing-syntax": "error",
    },
  },
];
```

## Related rules

- [jsdoc/match-name](https://lintradar.dev/rules/jsdoc/match-name.md): Reports the name portion of a JSDoc tag if matching or not matching a given regular expression.
- [jsdoc/no-restricted-syntax](https://lintradar.dev/rules/jsdoc/no-restricted-syntax.md): Reports when certain comment structures are present.
- [jsdoc/match-description](https://lintradar.dev/rules/jsdoc/match-description.md): Enforces a regular expression pattern on descriptions.
- [jsdoc/no-unnecessary-type-assertion](https://lintradar.dev/rules/jsdoc/no-unnecessary-type-assertion.md): Reports redundant @type tags that match or broaden the naturally inferred TypeScript type.
- [jsdoc/lines-before-block](https://lintradar.dev/rules/jsdoc/lines-before-block.md): Enforces minimum number of newlines before JSDoc comment blocks
- [jsdoc/normalize-see-links](https://lintradar.dev/rules/jsdoc/normalize-see-links.md): Normalizes labeled links in `@see` tags to a canonical `{@link}` form.

---

Web page: https://lintradar.dev/rules/jsdoc/no-missing-syntax. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
