Skip to content

Commit

Permalink
#124 enforce lf for json files
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed Aug 2, 2022
1 parent 229f130 commit b97c922
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# top-most EditorConfig file
root = true
# 4 space indentation
[*]
end_of_line = lf
[*.php]
indent_style = tab
indent_size = 4
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/tool/ export-ignore
/composer.lock export-ignore
/composer.phar export-ignore
/.editorconfig export-ignore
/.gitignore export-ignore
/.gitattributes export-ignore
/.phpunit.result.cache export-ignore
Expand All @@ -24,5 +25,6 @@
# do not replace lf by crlf
*.css text
*.php text
*.json text
text eol=lf

0 comments on commit b97c922

Please sign in to comment.