kraftvaerk / generator-rammevaerk

Scaffold a web project in kraftvaerk style
MIT License
5 stars 4 forks source link

Add linting #57

Closed kristoforsalmin closed 4 years ago

kristoforsalmin commented 4 years ago

Initial linting setup. I used new ESLint plugin instead of a loader for consistency, seems to be working fine.

One thing: if you have linting issues and were to try running npm run build — you'll get an error. This shouldn't be the case, because if you run webpack directly, e.g. npx webpack, it'll work as expected. Investigating...

kristoforsalmin commented 4 years ago

I think I'll merge this one, just to be done with it for now. If npm run build thing won't be solved by itself (npm/plugins updates, etc.), then I suggest we create a new separate issue (or mention it in #54).