Expected behavior
No warning to be reported for typedef or an option to disable the behaviour.
We might want to document a type object without properties.
Actual behavior
warning Missing JSDoc @property jsdoc/require-property
ESLint Config
extends: [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:jsdoc/recommended",
],
plugins: ["eslint-plugin-prettier", "eslint-plugin-jsdoc"],
ESLint sample
/**
* @typedef {object} MyTypeExtendingAnOption
*/
Environment
- Node version: 20.1.0
- ESLint version 8.40.0
eslint-plugin-jsdoc version: 44.2.3