Skip to content

Commit

Permalink
[CHORE] Fix issue with line ending chars in .gitattributes (typescrip…
Browse files Browse the repository at this point in the history
…t-eslint#252)

When user has `git core.autocrlf` set to crlf on windows machines there are collisions between `eslint-docs` and `prettier` due to inconsistent line endings in md files.

fixes: typescript-eslint#249
  • Loading branch information
armano2 authored and JamesHenry committed Jan 18, 2019
1 parent 110e646 commit 9dba0bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/eslint-plugin-typescript/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# avoids End-of-line problems for Windows Devs
# automatically converts crlf -> lf
# (linters can turn off their line-ending checks)
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.d.ts text eol=lf
* text eol=lf

0 comments on commit 9dba0bd

Please sign in to comment.