lint-files
Convenience wrapper for ESLint’s CLIEngine.prototype.executeOnFiles()
Instead of
const CLIEngine = const cli = some: 'options' cli
Do
const lintFiles =
Features
- one line less
- no
new
- tested better than patience
API
lintFiles(options, files)
options
:
will be passed to theCLIEngine
constructor (ESLint docs)files
:
will be passed toexecuteOnFiles
(ESLint docs)
Returns what executeOnFiles
returns.