-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add .gitattributes and change tsconfig.json for consistent EOL…
… semantic (#286) Apply the same changes as in open-telemetry/opentelemetry-js#1550 in this repo to improve OS independent development.
- Loading branch information
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## This .gitattributes file automatically formats the EOL character in certain filetypes within the repository | ||
|
||
## Source code | ||
# JavaScript, TypeScript, c, and h source files | ||
*.js text eol=lf | ||
*.ts text eol=lf | ||
*.h text eol=lf diff=cpp | ||
*.c text eol=lf diff=cpp | ||
|
||
# Shell scripts | ||
*.sh text eol=lf | ||
*.bash text eol=lf | ||
|
||
# Windows batch and PowerShell scripts | ||
*.bat text eol=crlf | ||
*.cmd text eol=crlf | ||
*.ps1 text eol=crlf | ||
|
||
##### Other file types ##### | ||
|
||
## Text files and documentation | ||
*.txt text | ||
README* text | ||
RELEASING* text | ||
CHANGELOG* text | ||
CONTRIBUTING* text | ||
INSTALL* text | ||
LICENSE* text | ||
|
||
## Non-text documentation | ||
*.html text diff=html | ||
*.pdf binary | ||
*.json text | ||
*.rtf binary | ||
|
||
## Git Properties | ||
.gitignore text | ||
.gitmodules text | ||
.gitattributes text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters