“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
it turns out i was registering a task which was overriding the default task.
grunt.registerTask(‘eslint’, [‘eslint’]);
Full Stack 4U

Full Stack 4U

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 *