Skip to content

Commit 99f39ce

Browse files
committed
feat: add .editorconfig
1 parent aec321c commit 99f39ce

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.editorconfig

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Summary: EditorConfig file for this project. -*- conf -*-
2+
#
3+
# For more information, see https://EditorConfig.org
4+
#
5+
# Copyright 2024 California Institute of Technology.
6+
# License: Modified BSD 3-clause – see file "LICENSE" in the project website.
7+
# Website: https://github.com/caltechlibrary/template
8+
9+
root = true
10+
11+
[*]
12+
charset = utf-8
13+
end_of_line = lf
14+
indent_size = 4
15+
indent_style = space
16+
insert_final_newline = true
17+
max_line_length = 90
18+
tab_width = 4
19+
trim_trailing_whitespace = true
20+
21+
[*.cfg]
22+
indent_size = 2
23+
24+
[*.json]
25+
indent_size = 2
26+
27+
[*.{yml, yaml}]
28+
indent_size = 2
29+
30+
# Shell scripts on Windows.
31+
[*.{cmd, bat}]
32+
end_of_line = crlf
33+
34+
[Makefile, makefile]
35+
indent_size = 4
36+
indent_style = tab
37+
tab_width = 8
38+
39+
[.applescript]
40+
indent_size = 4
41+
indent_style = tab
42+
tab_width = 4

0 commit comments

Comments
 (0)