LanceGin/Mockman

Missing eslintrc rule linebreaks for windows platform

IslandOfCode opened this issue · 1 comments

Building from source on windows platform (Windows 10 x64), npm run build return this error:
Expected linebreaks to be 'LF' but found 'CRLF'

Adding the following rules to .eslintrc file fix the issue:

'rules': {
	"linebreak-style": 0,
	"eslint linebreak-style": [0,"error","windows"],
...

I've added the specific rule to .eslintrc file on the dev branch. You can switch to dev branch to pull it.

That will be merged to master branch when next version is released.