加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gitlabhq/gitlabhq
克隆/下载
.yamllint 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
---
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.
ignore: |
#### Files ####
# Contains ruby code
config/mail_room.yml
generator_templates/usage_metric_definition/metric_definition.yml
# Contains ERB code that keeps throwing syntax errors
.rubocop.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
# 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/
generator_templates/gitlab_internal_events/
# In CI some YAML files are linted using different rules.
# See `.gitlab/ci/yaml.gitlab-ci.yml`.
#
# https://gitlab.com/gitlab-org/gitlab/-/issues/385693 tracks to enable all
# rules below:
rules:
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
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化