Skip to content

Commit 1a874ce

Browse files
authored
Merge pull request MyIntervals#212 from oliverklee/feature/editorconfig
Add an `.editorconfig` file
2 parents 10415ef + 1e0e7e6 commit 1a874ce

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file, and with same defaults
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
indent_style = space
11+
indent_size = 4
12+
max_line_length = 120
13+
14+
[*.md]
15+
max_line_length = 80
16+
# GitHub-flavored markdown uses two spaces and the end of a line to indicate a linebreak.
17+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.editorconfig export-ignore
12
/.gitattributes export-ignore
23
/.github/ export-ignore
34
/.gitignore export-ignore

0 commit comments

Comments
 (0)