js-linter
v0.1.0
Published
Deprecated
Downloads
1
Readme
Deprecated
The author can't understand why she made this module before, and you should stop to use this once again
js-linter
Integrated JavaScript linter using eslint
with eslint-config-standard
Introduction
Hana was tired of install eslint and standard configs again and again, so she publish this integrated package for linting her codes and no more install a lot of packages.
.eslintignore
or .gitignore
under current working directory has been used as `ignorePath` in default.
Installation
$ npm install --save-dev js-linter
Usage
$ js-lint glob [glob ...] [-i [pattern [pattern ...]]]
NPM Script
// package.json
...
"scripts": {
"lint": "js-linter ./"
},
...
CLI ( Installed as global )
// Lint all .js file under current working directory
$ js-lint ./
// Lint specific files but some don't
$ js-lint lib --ignore lib/app
Options
| Usage | Description | Alias |
| ----- | ----------- | ----- |
| --ignore pattern [pattern...]
| Ignore specific files or directories. Globs are allowed just like --ignorePattern
of eslint | -i
|