JSPM

eslint-plugin-comment-annotations

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q64593F
  • License MIT

Package Exports

  • eslint-plugin-comment-annotations
  • eslint-plugin-comment-annotations/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-comment-annotations) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-plugin-comment-annotations

npm version

ESLint rules for JavaScript comment annotations.

Rules

  • 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