src/events/watch/index.js
Function listen
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
listen(opts) {
const watcher = watch.createWatcher(opts._, { ignored: opts.watchIgnore });
const { flags, dirs } = cli.getCli(opts);
const cacheLocation = path.relative(process.cwd(), path.resolve(opts.cacheLocation || '.eslintcache'));
- Create a ticketCreate a ticket