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.
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 andbin/pixelmatch
are checked out with Linux line-endings on Windows. This way,yarn run test
can be executed successfully on my machine.