Add editorconfig file from Alpine
(this text is copied too) If a user has an editorconfig plugin for their editor, it will enforce tabs instead of spaces for indentation for APKBUILD files. It ignores other files in the repo.
This commit is contained in:
parent
d3c369bc43
commit
12d0e92bf5
1 changed files with 14 additions and 0 deletions
14
.editorconfig
Normal file
14
.editorconfig
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
; This file is for unifying the coding style for different editors and IDEs.
|
||||||
|
; Plugins are available for notepad++, emacs, vim, gedit,
|
||||||
|
; textmate, visual studio, and more.
|
||||||
|
;
|
||||||
|
; See http://editorconfig.org for details.
|
||||||
|
|
||||||
|
# Top-most EditorConfig file.
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[**/APKBUILD]
|
||||||
|
indent_style = tab
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
Loading…
Reference in a new issue