~alpine/aports

protect tabs in APKBUILD files v1 PROPOSED

Paul Morgan: 1
 protect tabs in APKBUILD files

 1 files changed, 14 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2215/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] protect tabs in APKBUILD files Export this patch

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.
---
 .editorconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..85d4df2
--- /dev/null
+++ b/.editorconfig
@@ -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
-- 
2.7.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---