0.1.1 • Published 8 years ago

justo-plugin-eslint v0.1.1

Weekly downloads
8
License
-
Repository
github
Last release
8 years ago

justo-plugin-eslint

NPM version Build Status Dependency Status devDependency Status

Tasks for ESLint.

Proudly made with ♥ in Valencia, Spain, EU.

Use

const eslint = require("justo-plugin-eslint");

To run eslint, the task must be called as follows:

eslint(title, opts) : number
eslint(jsOpts, opts) : number

opts:

  • src (string or string[]). Source files to parse.
  • ext (string or string[]). Extensions to parse. Default: .js.
  • output (boolean):
    • false. Show nothing.
    • true. Show errors and warnings.

Example:

eslint("Best practices and grammar", {
  src: ["index.js", "lib/"],
  output: false
});