0.1.1 • Published 9 years ago
justo-plugin-eslint v0.1.1
justo-plugin-eslint
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) : numberopts:
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
});