justo-plugin-eslint
v0.1.1
Published
Plugin for ESLint.
Downloads
7
Maintainers
Readme
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) : 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
});