kevincaradant / web-template-webpack

MIT License
8 stars 2 forks source link

XO linter does not work in command line #8

Closed kevincaradant closed 7 years ago

kevincaradant commented 7 years ago

Workaround Solution:

Load this libraries: "eslint-config-xo": "0.15.4", // allow to extend the xo config in eslint "eslint-loader": "1.5.0", // loader for webpack

Thanks to this libraries you can easily load a config file .eslintrc in webpack and also in command line. Otherwise with xo directly you can't load it in command line with npm.