eslint-plugin-comment-annotations

1.0.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i eslint-plugin-comment-annotations

    Weekly Downloads

    68

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    8.39 kB

    Total Files

    9

    Last publish

    Collaborators

    • 3