warning Use object shorthand or index signatures instead of `Object`, e.g., `{[key: string]: string}` jsdoc/check-types is being applied to our JavaScript files. Either the example given is wrong for JavaScript or this doesn't apply to JavaScript at all.
We don't want to follow this directive anyways so having an option to toggle it off would be appreciated.
ESLint Config
{
....
"rules": {
"jsdoc/check-types": 1,
}
}
ESLint sample
/**
* brand
*
* @type {Object.<string, string>}
*/
Environment
- Node version: v20.10.0
- ESLint version v8.56.0
eslint-plugin-jsdoc version: 46.0.0