pixelmatch icon indicating copy to clipboard operation
pixelmatch copied to clipboard

Fix line-endings on windows

Open haraldreingruber-dedalus opened this issue 3 years ago • 0 comments

yarn run test doesn't work on Windows, because the line-endings are checked out differently than the configured ESLint rules.

This .gitattributes file makes sure that *.js files and bin/pixelmatch are checked out with Linux line-endings on Windows. This way, yarn run test can be executed successfully on my machine.