Skip to content

Commit

Permalink
fix(prj): add missing editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
montchr committed Jun 20, 2024
1 parent 4b055f8 commit 276a401
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# SPDX-FileCopyrightText: 2022-2024 Temple University
# SPDX-License-Identifier: CC0-1.0

###: http://editorconfig.org

root = true

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

[*.org]
indent_size=8
indent_style=space

[*.md]
trim_trailing_whitespace = false

[*.{bash,sh}]
binary_next_line = true
simplify = true
switch_case_indent = true

[*.{php,xml}]
indent_size = 4
indent_style = space

# Distributable configuration files
# e.g. phpcs.xml.dist, phpstan.neon.dist
[*.{neon,xml}.dist]
indent_size = 4
indent_style = space

[*.{pub,txt}]
indent_size=unset
insert_final_newline=false

[*.{diff,patch}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_size = unset

[{LICENSES/**,LICENSE,secrets/**,keys/**}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
charset = unset
indent_style = unset
indent_size = unset

0 comments on commit 276a401

Please sign in to comment.