Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2020-06-25 23:01:54 +0200
committerDavid Runge <dvzrv@archlinux.org>2020-06-29 20:10:23 +0200
commit74995bfbd48975d11aa949a2920ac3302b0da891 (patch)
tree9e4ad12a5e98799a012440c0d4267e5666c86584 /.editorconfig
parent0868662fa87688651082535801d2bc9310c50fbe (diff)
Introducing shellcheck in gitlab CI
archiso/mkarchiso: Quoting all variables. Changing pkg_list to be an array instead of a string for easier handling. Using read to properly populate pkg_list from OPTARG with stripped whitespaces. Not exporting iso_label anymore as there seems to be no reason to do so. Introducing line breaks. .editorconfig: Setting max_line_length to 120. Adding a section for YAML files (e.g. .gitlab-ci.yml). configs/releng/build.sh Quting nearly all variables. Introducing line breaks. configs/baseline/build.sh: Quoting all variables. Introducing line breaks. .gitlab-ci.yml: Adding gitlab CI for shelleck linting of the config build scripts, mkarchiso and startup scripts in releng. Closes #19
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 4fa38d5..4a540f3 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -13,3 +13,12 @@ trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 4
+max_line_length = 120
+
+[*.{yml,yaml}]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = space
+indent_size = 2