summaryrefslogtreecommitdiff
path: root/.yamllint
diff options
context:
space:
mode:
Diffstat (limited to '.yamllint')
-rw-r--r--.yamllint19
1 files changed, 19 insertions, 0 deletions
diff --git a/.yamllint b/.yamllint
index 4a9dd9c56bd..5b49a617a57 100644
--- a/.yamllint
+++ b/.yamllint
@@ -2,6 +2,15 @@
extends: default
+yaml-files:
+ # defaults
+ - '*.yaml'
+ - '*.yml'
+ - '.yamllint'
+ # match more extensions
+ - '*.yaml.*'
+ - '*.yml.*'
+
# Ideally, we should have nothing in this ignore section.
#
# Please consider removing entries below by fixing them.
@@ -19,6 +28,16 @@ ignore: |
# Broken on purpose (for testing)
spec/fixtures/lib/gitlab/metrics/dashboard/broken_yml_syntax.yml
+ # Dynamic YAML files have syntax errors sometimes.
+ *.erb
+
+ # Vim temporary files.
+ *.sw[pon]
+
+ # Zipped files (by e.g. asset pipeline)
+ *.gz
+ *.bz2
+
#### Folders ####
node_modules/
tmp/