-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Labels
Description
How can I make the rule jsdoc/require-jsdoc work with properties that have a specific decorator/annotation in TypeScript?
Configuration: https://repl.it/@jerone/eslint-jsdoc-requiredoc-decorator#.eslintrc.json
{
"parser": "@typescript-eslint/parser",
"plugins": ["jsdoc"],
"rules": {
"jsdoc/require-jsdoc": [
"error",
{
"contexts": ["Property:has(Decorator[name=\"Input\"])"]
}
]
}
}export class User {
@Input()
public name: string;
}