jscs: {
src: ['<%= config.app %>/scripts/{,*/}*.js'],
options: {
config: '.jscsrc'
},
force: true
},
This is my Grunt file config
I am trying to use plugin described https://github.com/jscs-dev/grunt-jscs/
After loading the task it throws me an error
Running "jscs:files" (jscs) task
Warning: Object #<Object> has no method 'indexOf' Use --force to continue.
Resetting force:true
allows me to continue, but i want the task to fail if anyone in the team avoids this.
How can i fix this ?