You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could we specify rules as objects containing the and a custom message as a property? That way users can be told more explicitly why a rule shouldn't be disabled:
module.exports={// ...rules: {"@eslint-community/eslint-comments/no-restricted-disable": ["error",{rules: [{message: "Explanation for why this is so.",rule: "rule-to-never-disable",},],},],},// ...};
This issue has been automatically closed because we haven't received a response from the original author 🙈. This automation helps keep the issue tracker clean from issues that aren't actionable. Please reach out if you have more information for us! 🙂
Could we specify rules as objects containing the and a custom message as a property? That way users can be told more explicitly why a rule shouldn't be disabled:
Aside: I went through the process of writing https://github.com/JoshuaKGoldberg/eslint-plugin-never-disable because I'd missed that
eslint-plugin-eslint-comments/no-restricted-disable
is under the Stylistic section of https://mysticatea.github.io/eslint-plugin-eslint-comments 🤦. Sigh.The text was updated successfully, but these errors were encountered: