TrilonIO / aspnetcore-Vue-starter

*NEW* Asp.net Core & Vue.js (ES6) SPA Starter kit - Vuex, webpack, Web API, Docker, and more! By @TrilonIO
https://www.trilon.io
MIT License
1.22k stars 266 forks source link

Lint error when there is no json #136

Open poganytamas opened 5 years ago

poganytamas commented 5 years ago

When using current lint settings in packages.json, eslint fails if there is no json file inside ClientApp folder. Correct way would be:

"lint": "eslint -c ./.eslintrc.js \"ClientApp/**/*.{js,vue,json}\" webpack*.js",