Appearance
disallow tag comments
This rule reports comments where tag are used.
Comments with tags such as FIXME, BUG and ISSUE should generally be fixed before shipping to production.
FIXME
BUG
ISSUE
Tags only detect the start of comments.
Some examples of incorrect code for this rule:
Some examples of correct code for this rule:
{ "@kazupon/no-tag-comments": [ "error", { "tags": ["FIXME", "BUG"] } ] }
tags
["FIXME", "BUG"]
Nothing.
This rule was introduced in @kazupon/eslint-plugin v0.2.0
@kazupon/eslint-plugin
@kazupon/no-tag-comments
Rule Details
This rule reports comments where tag are used.
Comments with tags such as
FIXME
,BUG
andISSUE
should generally be fixed before shipping to production.Tags only detect the start of comments.
Fail
Some examples of incorrect code for this rule:
Pass
Some examples of correct code for this rule:
Options
tags
: specify the tags to be able to lint. If you don't set any options, it set to["FIXME", "BUG"]
as default.Related rules
Nothing.
Version
This rule was introduced in
@kazupon/eslint-plugin
v0.2.0Implementation