summaryrefslogtreecommitdiff
path: root/.yamllint
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-15 15:09:29 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-15 15:09:29 +0000
commit16cdacff02fbf0069182e090df2eeaa754007957 (patch)
tree5d19a3022bb7266834dad55a757f53bd48dc44e5 /.yamllint
parent37439afe69efe58e2351d899d231670d945be5e2 (diff)
downloadgitlab-ce-16cdacff02fbf0069182e090df2eeaa754007957.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.yamllint')
-rw-r--r--.yamllint17
1 files changed, 10 insertions, 7 deletions
diff --git a/.yamllint b/.yamllint
index 2fddf9ee3c4..4a9dd9c56bd 100644
--- a/.yamllint
+++ b/.yamllint
@@ -23,15 +23,18 @@ ignore: |
node_modules/
tmp/
-# Why disabling all of those rules?
+# In CI some YAML files are linted using different rules.
+# See `.gitlab/ci/yaml.gitlab-ci.yml`.
#
-# For the scope of https://gitlab.com/gitlab-org/gitlab/-/issues/359968,
-# we would like to catch syntax errors as soon as possible.
-# Style "errors" are not as important right now, but they should ideally be added later on.
-#
-# Please consider enabling a rule, and fixing the issues you'll see in an MR.
+# https://gitlab.com/gitlab-org/gitlab/-/issues/385693 tracks to enable all
+# rules below:
rules:
- braces: disable
+ braces:
+ min-spaces-inside: 1
+ max-spaces-inside: 1
+ min-spaces-inside-empty: 0
+ max-spaces-inside-empty: 0
+
colons: disable
comments-indentation: disable
comments: disable