83
rated 0 times
[
84]
[
1]
/ answers: 1 / hits: 137753
/ 8 Years ago, sun, july 3, 2016, 12:00:00
Recently, we've upgraded to ESLint 3.0.0 and started to receive the following message running the grunt eslint
task:
> $ grunt eslint
Running eslint:files (eslint) task
Warning: No ESLint configuration found. Use --force to continue.
Here is the grunt-eslint
configuration:
var lintTargets = [
<%= app.src %>/**/*/!(*test|swfobject)+(.js),
test/e2e/**/*/*.js,
!test/e2e/db/models/*.js
];
module.exports.tasks = {
eslint: {
files: {
options: {
config: 'eslint.json',
fix: true,
rulesdir: ['eslint_rules']
},
src: lintTargets
}
}
};
What should we do to fix the error?
More From » gruntjs