# require-property-name

Rule `jsdoc/require-property-name`. Requires that all `@property` tags have names.

- Source: jsdoc
- Technologies: JSDoc
- Kind: correctness
- Needs type information: no
- Autofix: no
- Reach: 11.3M weekly downloads of presets that enable it
- Trend: +36.4% last quarter
- Rank: #862 by reach, #1056 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `jsdoc/require-property-name` | yes | no | package `eslint-plugin-jsdoc` | [docs](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header) |
| Oxlint | `jsdoc/require-property-name` | no | no | plugin `jsdoc`, category correctness | [docs](https://oxc.rs/docs/guide/usage/linter/rules/jsdoc/require-property-name.html) |

## Code examples

### Incorrect: the rule reports this

```ts
/**
 * @typedef {SomeType} SomeTypedef
 * @property
 */
```

### Correct: the rule accepts this

```ts
/**
 * @typedef {SomeType} SomeTypedef
 * @property foo
 */
```

Examples from the ESLint documentation.

## Enable it

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

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

export default [
  {
    plugins: { jsdoc },
    rules: {
      "jsdoc/require-property-name": "error",
    },
  },
];
```

### Oxlint: `.oxlintrc.json`

```json
{
  "plugins": [
    "jsdoc"
  ],
  "rules": {
    "jsdoc/require-property-name": "error"
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [JSDoc recommended](https://lintradar.dev/presets/jsdoc-recommended.md) | ESLint | `eslint-plugin-jsdoc` | 37 | 8.1M | +23.8% |
| [Ultracite for Oxlint](https://lintradar.dev/presets/ultracite-oxlint.md) | Oxlint | `ultracite` | 475 | 2.1M | +151.7% |
| [JSDoc recommended for TypeScript](https://lintradar.dev/presets/jsdoc-recommended-typescript.md) | ESLint | `eslint-plugin-jsdoc` | 34 | 8.1M | +23.8% |
| [Anthony Fu's config](https://lintradar.dev/presets/antfu.md) | ESLint | `@antfu/eslint-config` | 294 | 758.7K | +49.9% |
| [XO](https://lintradar.dev/presets/xo.md) | ESLint | `eslint-config-xo` | 618 | 413K | −5.0% |

## Related rules

- [jsdoc/require-property-description](https://lintradar.dev/rules/jsdoc/require-property-description.md): Requires that each `@property` tag has a `description` value.
- [jsdoc/require-returns-description](https://lintradar.dev/rules/jsdoc/require-returns-description.md): Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
- [jsdoc/require-property](https://lintradar.dev/rules/jsdoc/require-property.md): Requires that all `@typedef` and `@namespace` tags have `@property` when their type is a plain `object`, `Object`, or `PlainObject`.
- [jsdoc/no-multi-asterisks](https://lintradar.dev/rules/jsdoc/no-multi-asterisks.md): Prevents use of multiple asterisks at the beginning of lines.
- [jsdoc/require-param-name](https://lintradar.dev/rules/jsdoc/require-param-name.md): Requires that all `@param` tags have names.
- [jsdoc/implements-on-classes](https://lintradar.dev/rules/jsdoc/implements-on-classes.md): Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).

---

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