-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.yamlfmt
More file actions
79 lines (62 loc) · 1.47 KB
/
.yamlfmt
File metadata and controls
79 lines (62 loc) · 1.47 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
71
72
73
74
75
76
77
78
79
# ------------------------------------------------------------------------------------
# yamlfmt Configuration
#
# Purpose: YAML formatting configuration for the mage-x (yamlfmt) tool
#
# Maintainer: @mrz1836
#
# ------------------------------------------------------------------------------------
formatter:
type: basic
# Indentation settings
indent: 2
# Do not include document start marker (---)
include_document_start: false
# Preserve existing line breaks where sensible
retain_line_breaks: true
# Use LF line endings
line_ending: lf
# Maximum line length (0 = disabled)
max_line_length: 0
# Handle folded strings as literal
scan_folded_as_literal: false
# Keep arrays indented
indentless_arrays: false
# Remove merge tags
drop_merge_tag: false
# Add padding after line comments
pad_line_comments: 1
# File exclusions
exclude:
# Version control and package managers
- "**/.git/**"
- "**/node_modules/**"
- "**/vendor/**"
# Build outputs
- "**/dist/**"
- "**/build/**"
# Coverage artifacts
- "**/coverage/**"
- "**/*.cover"
- "**/*.cov"
- "**/coverage.txt"
- "**/coverage.html"
# Generated code
- "**/*.generated.*"
- "**/*gen.go"
- "**/mock**.go"
- "**/*.pb.go"
- "**/*.pb.gw.go"
- "**/packaged.yaml"
# IDE metadata
- "**/.idea/**"
- "**/.vscode/**"
# Temporary files
- "**/*.tmp"
- "**/*.temp"
- "**/*.swp"
- "**/*.swo"
- "**/*~"
# Build configs
- "**/.env.base"
- "**/.env.custom"