GithubHelp home page GithubHelp logo

eslint-rules-checker's Introduction

eslint Rules Checker

A simple nodejs script to check for removed, deprecated, current and unused rules in a eslint enabled project or file.

Install/Use (Test)

git clone https://github.com/Code0987/eslint-rules-checker
cd eslint-rules-checker

npm install

npm run sample
or 
node cli.js -i ./sample/.eslintrc -o ./sample/eslint-report.txt 

The output will be logged to console and a file sample/eslint-report.txt. The sample is updated with already run output at sample/eslint-report.txt.

Install/Use (npm Package)

npm install Code0987/eslint-rules-checker --save-dev
"node_modules/.bin/eslint-rules-checker.cmd" --help
Options:
  --version         Show version number                                [boolean]
  -i, --input       eslintrc file or eslintrc project dir
  -o, --output      output file
  -r, --removed     removed rules                                      [boolean]
  -d, --deprecated  deprecated rules                                   [boolean]
  -c, --current     current rules                                      [boolean]
  -u, --unused      unused rules                                       [boolean]
  -p, --print       print report                                       [boolean]
  -h, --help        Show help                                          [boolean]
"node_modules/.bin/eslint-rules-checker.cmd" -i .eslintrc

The script will be installed as a npm package. You can then call it on current project having eslint as shown above.

eslint-rules-checker's People

Contributors

code0987 avatar renovate-bot avatar

Watchers

 avatar  avatar  avatar

eslint-rules-checker's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency eslint-find-rules to v4
  • Update dependency eslint-plugin-promise to v6
  • Update dependency eslint-plugin-standard to v5
  • Update dependency mocha to v10
  • Update dependency yargs to v17
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • eslint ^7.0.0
  • path-is-absolute ^2.0.0
  • yargs ^12.0.5
  • chai ^3.5.0
  • eslint-find-rules ^3.3.1
  • eslint 7.7.0
  • eslint-plugin-import ^2.13.0
  • eslint-plugin-node ^7.0.0
  • eslint-plugin-promise ^4.0.0
  • eslint-plugin-standard ^4.0.0
  • tape ^4.8.0
  • mocha ^3.0.2
  • eslint >=5.0.0
  • eslint-plugin-import >=2.13.0
  • eslint-plugin-node >=7.0.0
  • eslint-plugin-promise >=4.0.0
  • eslint-plugin-standard >=4.0.0
sample/package.json
  • eslint 7.7.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.