Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

AdarshKonchady/disable-eslint-issues-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disable-eslint-issues-cli Build Status

This package can be used to disable all existing errors and warnings in your project by adding a comment to disable them.

Motivation:

You might have an existing project which has a lot of errors or/and warnings but you do not want these errors, warnings to increase further. Use this package to comment all existing occurences and put in ESLint rule henceforth to detect all bad code.

Usage:

This CLI is available on NPM and you can use it as mentioned below.

$ npx disable-eslint-issues-cli --help

disable-eslint-issues-cli [options] <paths>

Options:
  --help                 Show help                                     [boolean]
  --version              Show version number                           [boolean]
  --include-fixable, -f  Also disable auto-fixable ESLint rules.       [boolean]

Example:

$ npx disable-eslint-issues-cli 'src/**/*.js' 'test/**/*.js'