Skip to content

Commit

Permalink
Add an editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Jan 23, 2024
1 parent 7d7bcc0 commit 388493c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://editorconfig.org/
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true

[{*.{c,cpp,h,h.in,cu,cl,hip,f90,java,sh,sh.in,mk,gp},Makefile,Makefile.*}]
trim_trailing_whitespace = true
indent_style = tab
indent_size = 8

[*.{py,jl}]
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

0 comments on commit 388493c

Please sign in to comment.