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
This helps us reduce abuse of ignore comments and to aid in code review. We also have a formatting rule that limits comment line length and wraps them.
The automatic injection of ignore rules is very useful, but when adding descriptions to said ignore comments I nearly always overrun our line length and have to convert the comment to a block style. This does look nicer and I don't want to disable this feature.
It would be very nice to be able to have a setting to have the ignore rule use block-style comments. The most logical place I see to attach such a setting is to eslint.codeAction.disableRuleComment.
The text was updated successfully, but these errors were encountered:
TLDR:
I'd like a setting added to eslint.codeAction.disableRuleComment to have it inject block-style comments (
/* */
) rather than line style (//
)Context:
I use eslint-require-description to enforce the use of comments for eslint-ignore comments. (See eslint/rfcs#33).
This helps us reduce abuse of ignore comments and to aid in code review. We also have a formatting rule that limits comment line length and wraps them.
The automatic injection of ignore rules is very useful, but when adding descriptions to said ignore comments I nearly always overrun our line length and have to convert the comment to a block style. This does look nicer and I don't want to disable this feature.
It would be very nice to be able to have a setting to have the ignore rule use block-style comments. The most logical place I see to attach such a setting is to eslint.codeAction.disableRuleComment.
The text was updated successfully, but these errors were encountered: