Browse Source

protect tabs in APKBUILD files

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.
Paul Morgan 3 years ago
parent
commit
4e6963994f
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      .editorconfig

+ 14
- 0
.editorconfig View File

@@ -0,0 +1,14 @@
1
+; This file is for unifying the coding style for different editors and IDEs.
2
+; Plugins are available for notepad++, emacs, vim, gedit,
3
+; textmate, visual studio, and more.
4
+;
5
+; See http://editorconfig.org for details.
6
+
7
+# Top-most EditorConfig file.
8
+root = true
9
+
10
+[**/APKBUILD]
11
+indent_style = tab
12
+end_of_line = lf
13
+insert_final_newline = true
14
+trim_trailing_whitespace = true