mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-22 18:18:39 +00:00
Add .editconfig to specify editor defaults
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
5fc3afcbef
commit
068d5dbfe5
1 changed files with 20 additions and 0 deletions
20
.editorconfig
Normal file
20
.editorconfig
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Top-most EditorConfig file, https://editorconfig.org
|
||||
root = true
|
||||
|
||||
# Use Unix-style newlines with a newline ending every file.
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = false
|
||||
|
||||
# Set rules by file type.
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{js,yaml,yml,md,txt}]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
Loading…
Add table
Add a link
Reference in a new issue