I've created a Node.js module which I'm gonna be open-sourcing soon. I originally developed it on Linux and I decided to test it on Windows before publishing it. When I ran ESLint on Windows I noticed I had a huge amount of linting errors which were all the same:
error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
I read in a couple of places that these linebreaks were inserted by Git when I cloned the repo on Windows. I also read that it is possible to turn off this rule in the eslint config file. Is it safe to do this? or is there a "best practice" regarding this rule? (considering this will be an open source project and hopefully others will be contributing to it)
Any advice or feedback will be appreciated.