“grunt eslint” hanging this is why?

“grunt eslint” hanging
when i run the “grunt eslint” command the terminal just hangs
The grunt client is installed
I’ve tried “npm install grunt-eslint -g” no luck
added this to grunt config
  eslint: {
  target: [‘src’, ‘test’]
  },
no luck.
Since version 3.0.0, ESLint will refuse to work without a configuration file, printing an error message instead. This will hopefully prevent people from running into this issue.
added missing .eslintignore file
**/*.ico
node_modules
**/node_modules
dist
hiptest
examples
bower_components
.idea
it turns out i was registering a task which was overriding the default task.
grunt.registerTask(‘eslint’, [‘eslint’]);
arrrrrgh!!!!
Fullstack4u.com shares web development tips for full stack web technologies and is helping share the passion to web developers worldwide.

Leave a Reply

Your email address will not be published. Required fields are marked *