summaryrefslogtreecommitdiff
path: root/.yamllint
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-20 11:10:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-20 11:10:13 +0000
commit0ea3fcec397b69815975647f5e2aa5fe944a8486 (patch)
tree7979381b89d26011bcf9bdc989a40fcc2f1ed4ff /.yamllint
parent72123183a20411a36d607d70b12d57c484394c8e (diff)
downloadgitlab-ce-0ea3fcec397b69815975647f5e2aa5fe944a8486.tar.gz
Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42
Diffstat (limited to '.yamllint')
-rw-r--r--.yamllint40
1 files changed, 39 insertions, 1 deletions
diff --git a/.yamllint b/.yamllint
index df7cdf404bc..2fddf9ee3c4 100644
--- a/.yamllint
+++ b/.yamllint
@@ -2,6 +2,44 @@
extends: default
+# Ideally, we should have nothing in this ignore section.
+#
+# Please consider removing entries below by fixing them.
+ignore: |
+ #### Files ####
+
+ # Contains ruby code
+ config/mail_room.yml
+ generator_templates/snowplow_event_definition/event_definition.yml
+ generator_templates/usage_metric_definition/metric_definition.yml
+
+ # Has some special indentation
+ doc/user/project/integrations/samples/cloudwatch.yml
+
+ # Broken on purpose (for testing)
+ spec/fixtures/lib/gitlab/metrics/dashboard/broken_yml_syntax.yml
+
+ #### Folders ####
+ node_modules/
+ tmp/
+
+# Why disabling all of those rules?
+#
+# 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.
rules:
- line-length: disable
+ braces: disable
+ colons: disable
+ comments-indentation: disable
+ comments: disable
document-start: disable
+ empty-lines: disable
+ indentation: disable
+ key-duplicates: disable
+ line-length: disable
+ new-line-at-end-of-file: disable
+ trailing-spaces: disable
+ truthy: disable