Closed ota-meshi closed 4 years ago
@ota-meshi just updated, and it seems that adding a description satisfies your rule, but interferes with the disabling of the actual rule?
Might be an issue w/ my ESLint version? I'm on ^5.16.0
, but the latest is 7.1.0
.
Update: yup, confirmed it's because of my older version of ESLint. (Will leave this comment here for future searchers)
As you say, this rule is only available with ESLint v7.x or later. I also wrote it in the documentation for this rule.
https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html
This PR adds
eslint-comments/require-description
rule. This rule warns directive comments without description. This rule can only be used with ESLint v7.x or later.close #40 close #29