eslint-scanner

0.2.7 • Public • Published

eslint-scanner

eslint-scanner is a code specification check tool.ratherblue's eslint-html-reporter is used for create the result html.

  • Based on the eslint code standard specification
  • Display the results in HTML
  • You can customize eslint rules

Installation

$ npm -g install eslint-scanner

Usage

Simple

default eslint path: yourpath/.eslintrc(if it's not exsit, use airbnb).
default result file path: ./report.html

$ yourpath: escheck -f ./src

Then you can see the result file(report.html) under yourpath.

Set output path

$ yourpath: escheck -f ./src -o ./report.html

Set eslint-config

create .eslintrc in xxx/ and then:

$ yourpath: escheck -f ./src -c ./xxx/.eslintrc

Help

$: escheck --help  
 
  Usage: escheck [options] <src...>  
 
  Options:  
 
    -h, --help           output usage information  
    -V, --version        output the version number  
    -f, --path <path>    base directory for resolving paths  
    -c, --config <path>  .eslintrc path  
    -o, --output <path>  path for report html

License

MIT License

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.7
    0
    • latest

Version History

Package Sidebar

Install

npm i eslint-scanner

Weekly Downloads

1

Version

0.2.7

License

MIT

Last publish

Collaborators

  • milan-hwj