Files task for Start.
npm install --save-dev start-files
# or
yarn add --dev start-files
import start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import eslint from 'start-eslint';
export const lint = () => start(reporter())(
files('lib/**/*.js'),
eslint()
);
Task provides an array of found files, see documentation for details.
files(glob, options)
glob
– globby patternsoptions
– node-glob options,{ realpath: true, ignore: [ 'node_modules/**', 'bower_components/**' ] }
by default