forked from microsoft/edge-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.yamllint.yml
More file actions
70 lines (58 loc) · 1.54 KB
/
.yamllint.yml
File metadata and controls
70 lines (58 loc) · 1.54 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# yamllint configuration file
---
extends: default
rules:
# Line length rule - disabled to allow long lines in Azure DevOps pipelines
line-length: disable
# Original configuration (commented out):
# line-length:
# max: 120
# allow-non-breakable-words: true
# allow-non-breakable-inline-mappings: true
# level: warning
# Comments rule - allow comments at the beginning of the line
comments:
min-spaces-from-content: 1
# Indentation rule - 2 spaces
indentation:
spaces: 2
indent-sequences: true
check-multi-line-strings: false
# Trailing spaces rule
trailing-spaces: enable
# Empty lines rule
empty-lines:
max: 2
max-start: 0
max-end: 1
# Document start rule - encourage document start markers (soft warning)
# This ensures all YAML files (including front matter) are properly formatted
document-start:
present: true
level: warning
# Truthy rule - allow 'on' for GitHub/Azure DevOps triggers
truthy:
allowed-values: ['true', 'false', 'on', 'off', 'yes', 'no']
check-keys: true
# New lines rule - disabled
new-lines: disable
# Key duplicates rule
key-duplicates: enable
# Brackets rule
brackets:
min-spaces-inside: 0
max-spaces-inside: 1
# Braces rule
braces:
min-spaces-inside: 0
max-spaces-inside: 1
# Ignore patterns
ignore: |
.github/ISSUE_TEMPLATE/*
charts/templates/*
charts/*/templates/*
**/node_modules/**
docs/assets/js/node_modules/**
docs/_server/node_modules/**
**/charts/**/templates/*
src/**/charts/**/templates/*