eslint-plugin-comment-annotations

0.4.2 • 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

/eslint-plugin-comment-annotations/

    Package Sidebar

    Install

    npm i eslint-plugin-comment-annotations

    Weekly Downloads

    0

    Version

    0.4.2

    License

    MIT

    Unpacked Size

    8.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • 3