Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-comment-annotations

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-comment-annotations

[![npm version](https://img.shields.io/npm/v/eslint-plugin-comment-annotations.svg?style=flat)](https://www.npmjs.com/package/eslint-plugin-comment-annotations)

  • 0.4.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

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
    

Keywords

FAQs

Package last updated on 06 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc