js-jslog / generator-webpack

A Yeoman Generator to create a simple webpack project
0 stars 0 forks source link

Add eslint as required #4

Open js-jslog opened 4 years ago

js-jslog commented 4 years ago

After installing eslint, it is possible to run npx eslint --init which will prompt for the generation of an .eslintrc. I wonder if this can be used during the yeoman generator.

js-jslog commented 4 years ago

Rather than having the npx eslint --init command included withing the yeoman generator, it should be sufficient to just have it run as a post-install command in the generated package.json.