Open mitar opened 9 years ago
I often look to how eslint names things. They have a no-warning-comments rule. I'd probably name this warning_comments
and give it one configuration parameter.
module.exports = class WarningComments
rule:
name: 'warning_comments'
level: 'warn'
mode: 'format' # Or set this to 'forbid' if you want to ban warning comments.
message: 'Curly braces must have the proper spacing'
Feature request.
Good:
Bad:
Just to make it easier for some IDEs to parse this.