Skip to content

Conversation

daniilsavchuk
Copy link
Collaborator

General idea

Currently ESLint config enforces UNIX style line-endings. That causes thousands of warnings when building solution using Windows. This Pull Request introduces platform independant approach:
Force GIT to handle line-endings natively for each client platform
Make ESLint check that all line-endings are in the same notation

Changes summary

.gitattributes - Added configuration that enables the conversion of CRLF to LF and backward by GIT client

.eslintrc.js - changed the method of EOL style selecting

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.729% when pulling f5537a5 on eslint-hotfix into 0a84a3b on dev.

@sidoruka sidoruka requested a review from paulsmirnov April 3, 2017 13:24
Copy link
Member

@paulsmirnov paulsmirnov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and concise. Thanks!

@paulsmirnov paulsmirnov merged commit be6cd03 into dev Apr 4, 2017
@paulsmirnov paulsmirnov deleted the eslint-hotfix branch April 4, 2017 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants