Closed Virus288 closed 3 months ago
For check-tag-names
, there is this option.
For check-indentation
, you can either disable the rule or set this option.
For example:
"rules: {
"jsdoc/check-tag-names": ["warn", {"definedTags": ["openapi"]}],
"jsdoc/check-indentation": ["warn", {"excludeTags": ["openapi"]}]
}
Closing as that should resolve, but feel free to comment further as needed.
Thanks. I couldn't find it
Motivation
I use package Swagger-Jsdoc . This plugin seems to be complaining about
Which is used by Swagger-jsdoc, to mark openapi syntax.
I would love for this plugin to have option to ignore jsdoc, which includes
@openapi
.Sample code: https://github.com/Monsters-RPG-game/Gateway/blob/dev/src/structure/modules/user/register/router.ts Minimal eslint rules. related this issue
Current behavior
Currently plugin complains about jsdoc, which has
@openapi
Desired behavior
Add some way to ignore jsdoc, which include
@openapi
, or add a way to ignore jsdoc blocks, which include specific tagAlternatives considered
N/A