Skip to content

Commit

Permalink
Added configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
corpsee committed Aug 5, 2021
1 parent 31a4410 commit ed29a65
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.php text eol=lf

*.png binary
*.jpg binary

/tests/ export-ignore

/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-censor.yml export-ignore

0 comments on commit ed29a65

Please sign in to comment.