Closed ota-meshi closed 4 years ago
Sounds good to me!
I was just considering opening a pull-request for this! ❤️ Thanks, @ota-meshi !!
thanks again for doing this: it inspired me to do https://github.com/typescript-eslint/typescript-eslint/pull/2099
Please describe what the rule should do:
This rule reports directive comments without description.
What category of rule is this? (place an "X" next to just one item)
[ ] Warns about a potential error (problem) [ ] Suggests an alternate way of doing something (suggestion) [ ] Enforces code style (layout) [X] Other (please specify:)
Provide 2-3 code examples that this rule will warn about:
No warning is given if the directive comment contains an description.
May need an option to set whether or not to warn depending on the type of directives.