New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-actool

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-actool

Toolkit for code / comments actuality and relevance checking

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

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

eslint-plugin-actool

Version npm npm bundle size Hits GitHub Workflow Status GitHub commit activity

Actool rules for ESLint to validate code / comments actuality and relevance.

DISCLAIMER: Work in process, and accordingly:

  • For a while - here is approximate description
  • There are a lot of bugs =)
  • First stable version will be signed as 0.1.0

Usage

Requirement: Make sure your repository has git history

  • 💫 Refer to our overiew doc for quick explanation of features and conception
  • If you don't have ESLint yet configured for your project, follow these instructions.
  • Install eslint-plugin-actool using npm (or yarn) for you project or globally:
$ npm install eslint-plugin-actool -D  # install for your project as devDep
$ npm install eslint-plugin-actool -g  # or install globally
  • Add eslint-plugin-actool to the plugins option of your .eslintrc:
{
  "plugins": ["actool"]
}
  • Add plugin:actool/recommended to the extends option to enable all recommended rules:
{
  "extends": ["plugin:actool/recommended"]
}
  • or enable only some rules manually:
{
  "rules": {
    "actool/max-tags": 2,
    "actool/relevant-comments": 2,
    // etc.
  }
}

Rules

  • max-tags - limit TODO/FIXME tags

    scope: file, project

  • relevant-comments - validate relevanting of comment doclet with corresponding code statement

    scope: line, block, module

  • (WIP) no-commented-code - limit commented code usage and storing

More details

Also

Keywords

FAQs

Package last updated on 08 Dec 2020

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