linters
A tool for checking code
Last updated 8 months ago by stevenzwzhai .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install linters 
SYNC missed versions from official npm registry.

linters

lint js、ts、style。

install

use command global

npm install linters -g

linter js

use command in project

npm install linters -D

config in package.json

{
    "script": {
        "lintjs": "./node_modules/.bin/linters js"
    }
}

use by npm

npm run lintjs

lint js

  1. create .eslintrc.js in root dir, and intall pkg;
  2. use command in your project linters js;

lint ts

  1. create tslint.json in root dir, and intall pkg;
  2. use command in your project linters ts;

lint style

  1. create .stylelintrc in root dir, and intall pkg;
  2. use command in your project linters style;

Current Tags

  • 0.0.5                                ...           latest (8 months ago)

5 Versions

  • 0.0.5                                ...           8 months ago
  • 0.0.4                                ...           8 months ago
  • 0.0.3                                ...           8 months ago
  • 0.0.2                                ...           8 months ago
  • 0.0.1                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (11)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |