Last active
December 27, 2019 09:36
-
-
Save niyaton/e56e2f96b9d2e45a2b1b898db52a2cc5 to your computer and use it in GitHub Desktop.
個人用汎用 editorconfig & .gitattributes
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
# http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
end_of_line = lf | |
[*.{ts,js}] | |
indent_size = 2 | |
[*.py] | |
indent_size = 4 | |
[*.rst] | |
indent_size = 4 | |
[*.bat] | |
indent_style = tab | |
end_of_line = crlf | |
[*.md] | |
trim_trailing_whitespace = false | |
[.gitattributes] | |
indent_style = tab | |
[LICENSE] | |
insert_final_newline = false | |
[Makefile] | |
indent_style = tab |
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
* text=auto | |
*.bat text eol=crlf | |
*.ini text | |
*.json text eol=lf | |
*.lock text eol=lf | |
*.md text eol=lf | |
*.py text eol=lf diff=python | |
*.rst text | |
*.ts text eol=lf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment