Skip to content

Commit

Permalink
fix: add .gitattributes file and normalize all the line endings (#301)
Browse files Browse the repository at this point in the history
* Add .gitattributes file

* Add LF normalization setting for .ts files

* Add LF normalization setting for .tsx files

* feat: add line endings rules for .js .json and .md
  • Loading branch information
adiati98 committed Jan 12, 2024
1 parent f1c29ff commit a6279ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
@@ -0,0 +1,6 @@
# Explicitly declare text files you want to always be normalized and converted to native line endings on checkout.
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf

0 comments on commit a6279ea

Please sign in to comment.