-
Notifications
You must be signed in to change notification settings - Fork 885
JetBrains //noinspection whitelisted in comment-format space rule #1524
JetBrains //noinspection whitelisted in comment-format space rule #1524
Conversation
JetBrains IDE’s (IntelliJ IDEA, WebStorm, PhpStorm, etc.) disabling inspections by adding `//noinspection [rulenames]` before the expression. This violates the rule of single-line comments must start with a space.
Code looks good @nomaed! Mind adding a line to the test here so we can verify that everything works correctly now? |
I don't think we should encode JetBrains semantics into the rule by default... can we make it a configurable option? |
@adidahiya I wanted to add an option for this, but then I saw that there is already another exception ( |
I'm sort of happy just having it baked-in. Nobody's going to accidentally have |
Alright, cool sounds good 👍 |
Thanks @nomaed! |
Thank you all for accepting this addition :) |
JetBrains IDE’s (IntelliJ IDEA, WebStorm, PhpStorm, etc.) disabling
inspections by adding
//noinspection [rulenames]
before theexpression. This violates the rule of single-line comments must start
with a space.