ESLint rules for JavaScript comment annotations.
-
all-caps
enforces comment annotations all-caps style// These comments will fail // todo: // todo // fixme // fixme // These comments will not fail // TODO: // TODO // FIXME
-
single-colon
enforces comment annotations colon// These comments will fail // todo // fixme // fixme // These comments will not fail // todo: // fixme: // fixme:
-
no-extra-space
disables extra space in comment annotations (TODO and FIXME)// These comments will fail // to do // fix me // fix me // These comments will not fail // todo // fixme // fixme