summaryrefslogtreecommitdiff
path: root/.yamllint
blob: 2fddf9ee3c46ab19d15851d6c09f92234b7e234c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---

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:
  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