eslint-community / eslint-plugin-eslint-comments

Additional ESLint rules for directive comments of ESLint.
https://eslint-community.github.io/eslint-plugin-eslint-comments
MIT License
51 stars 7 forks source link

Allows require-description to be turned off for specific rules #142

Open mcongrove opened 10 months ago

mcongrove commented 10 months ago

Adds a new option to require-description, called disableForRules, which allows you to pass an array of rules that require-description will not apply to.

Example usage:

"@eslint-community/eslint-comments/require-description": [
    "error",
    { disableForRules: ["no-unused-vars"] },
],

This can be especially helpful for overrides which are self-evident amongst users of the codebase.

Requested by #134.

mcongrove commented 9 months ago

@ota-meshi @MichaelDeBoey

Hate to ping y'all, but I'm not sure if you were notified this PR was here because I can't request a reviewer.