debian-mirror-gitlab/.yamllint

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

71 lines
1.5 KiB
Text
Raw Normal View History

2019-09-04 21:01:54 +05:30
---
extends: default
2023-03-04 22:38:38 +05:30
yaml-files:
# defaults
- '*.yaml'
- '*.yml'
- '.yamllint'
# match more extensions
- '*.yaml.*'
- '*.yml.*'
2022-07-23 23:45:48 +05:30
# 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
2023-06-20 00:43:36 +05:30
# Contains ERB code that keeps throwing syntax errors
.rubocop.yml
2022-07-23 23:45:48 +05:30
# 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
2023-03-04 22:38:38 +05:30
# Dynamic YAML files have syntax errors sometimes.
*.erb
# Vim temporary files.
*.sw[pon]
# Zipped files (by e.g. asset pipeline)
*.gz
*.bz2
2022-07-23 23:45:48 +05:30
#### Folders ####
node_modules/
tmp/
2023-03-04 22:38:38 +05:30
# In CI some YAML files are linted using different rules.
# See `.gitlab/ci/yaml.gitlab-ci.yml`.
2022-07-23 23:45:48 +05:30
#
2023-03-04 22:38:38 +05:30
# https://gitlab.com/gitlab-org/gitlab/-/issues/385693 tracks to enable all
# rules below:
2019-09-04 21:01:54 +05:30
rules:
2023-03-04 22:38:38 +05:30
braces:
min-spaces-inside: 1
max-spaces-inside: 1
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0
2022-07-23 23:45:48 +05:30
colons: disable
comments-indentation: disable
comments: disable
2019-09-04 21:01:54 +05:30
document-start: disable
2022-07-23 23:45:48 +05:30
empty-lines: disable
indentation: disable
key-duplicates: disable
line-length: disable
new-line-at-end-of-file: disable
trailing-spaces: disable
truthy: disable