You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the 24.0.0 version, the 'eslint' task has been changed to be executed asynchronously. However, if there are no files to validate or if the formatter cannot be found, instead of using done(true) or done(false), the value is returned directly.
grunt.log.writeln(chalk.magenta('Could not find any files to validate'));
returntrue;
}
constengine=newESLint(options);
constformatter=awaitengine.loadFormatter(format);
if(!formatter){
grunt.warn(`Could not find formatter ${format}`);
returnfalse;
}
This causes, at least in my case, the task to get stuck. If you consider this to be a valid issue, I'll be happy to make a pull request with the change.
The text was updated successfully, but these errors were encountered:
In the 24.0.0 version, the 'eslint' task has been changed to be executed asynchronously. However, if there are no files to validate or if the formatter cannot be found, instead of using
done(true)
ordone(false)
, the value is returned directly.grunt-eslint/tasks/eslint.js
Lines 26 to 38 in 259ce5c
This causes, at least in my case, the task to get stuck. If you consider this to be a valid issue, I'll be happy to make a pull request with the change.
The text was updated successfully, but these errors were encountered: