justo-plugin-eslint

0.1.1 • Public • Published

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
});

Package Sidebar

Install

npm i justo-plugin-eslint

Homepage

justojs.org

Weekly Downloads

0

Version

0.1.1

License

none

Last publish

Collaborators

  • justojs