Skip to content

Instantly share code, notes, and snippets.

@rynkowsg
Last active October 21, 2025 18:22
Show Gist options
  • Select an option

  • Save rynkowsg/60f837da3725b1b4523d3fe6ce8d2f1b to your computer and use it in GitHub Desktop.

Select an option

Save rynkowsg/60f837da3725b1b4523d3fe6ce8d2f1b to your computer and use it in GitHub Desktop.
.yamlfmt.yml
# Source: https://gist.github.com/rynkowsg/60f837da3725b1b4523d3fe6ce8d2f1b
# https://github.com/google/yamlfmt/blob/main/docs/config-file.md
# https://github.com/google/yamlfmt/blob/main/docs/command-usage.md
continue_on_error: false
doublestar: false
exclude:
- node_modules
extensions:
- yaml
- yml
gitignore_excludes: false
gitignore_path: .gitignore
include: []
line_ending: lf
match_type: standard
output_format: default
regex_exclude: []
formatter:
array_indent: 0
disallow_anchors: false
drop_merge_tag: true
eof_newline: true
include_document_start: false
indent: 2
indent_root_array: false
indentless_arrays: false
line_ending: lf
max_line_length: 0
pad_line_comments: 1
retain_line_breaks: false
retain_line_breaks_single: true
scan_folded_as_literal: false
strip_directives: false
trim_trailing_whitespace: true
type: basic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment