Skip to content

Commit a33d813

Browse files
committed
add more complete editorconfig to match other projects in the ecosystem [skip ci]
1 parent c5c684b commit a33d813

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: .editorconfig

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
root = true
2+
13
[*]
2-
# this matches the setting in .gitattributes
4+
indent_style = space
5+
indent_size = 2
36
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

Diff for: .rubocop.yml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Layout/BeginEndAlignment:
1111
Layout/CaseIndentation:
1212
EnforcedStyle: end
1313
Layout/EndOfLine:
14-
# this matches the setting in .gitattributes
1514
EnforcedStyle: lf
1615
Layout/EmptyLineAfterGuardClause:
1716
Enabled: false

0 commit comments

Comments
 (0)