js-linter

0.1.0 • Public • Published

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 ...] [-[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

Readme

Keywords

none

Package Sidebar

Install

npm i js-linter

Weekly Downloads

5

Version

0.1.0

License

MIT

Last publish

Collaborators

  • shirohana