mirror of
https://gitlab.gnome.org/julianschacher/top-bar-organizer.git
synced 2025-10-27 15:19:09 +00:00
Other: Add .editorconfigs
Add `.editorconfig`s, to help maintain a consistent coding style. Also apply the new style to existing files.
This commit is contained in:
parent
f581935f85
commit
2f0ecddfc8
15
.editorconfig
Normal file
15
.editorconfig
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_style = space
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
[*.{js,json}]
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = false
|
||||||
6
docs/.editorconfig
Normal file
6
docs/.editorconfig
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Unset rules for `.js` files in this directory, since they might come from
|
||||||
|
# external sources and therefore shouldn't be affected by this repos
|
||||||
|
# `.editorconfig`.
|
||||||
|
[*.js]
|
||||||
|
indent_size = unset
|
||||||
|
trim_trailing_whitespace = unset
|
||||||
Loading…
x
Reference in New Issue
Block a user