mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2024-11-23 07:58:23 -05:00
style: adjust indentation and line ending settings
This commit is contained in:
parent
e4e298f073
commit
65fcf2826c
2 changed files with 28 additions and 5 deletions
|
@ -1,11 +1,14 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{package.json,.travis.yml}]
|
||||
[*.{js,json}]
|
||||
indent_style = space
|
||||
|
||||
[{package.json,package-lock.json}]
|
||||
indent_size = 2
|
||||
|
|
20
.gitattributes
vendored
Normal file
20
.gitattributes
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
# Explicitly specify line endings for as many files as possible.
|
||||
# People who (for example) rsync between Windows and Linux need this.
|
||||
|
||||
# File types which we know are binary
|
||||
|
||||
# Prefer LF for most file types
|
||||
*.js text eol=lf
|
||||
*.json text eol=lf
|
||||
*.md text eol=lf
|
||||
|
||||
# Prefer LF for these files
|
||||
.editorconfig text eol=lf
|
||||
.gitattributes text eol=lf
|
||||
.gitignore text eol=lf
|
||||
LICENSE text eol=lf
|
||||
|
||||
# Use CRLF for Windows-specific file types
|
Loading…
Reference in a new issue