We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 350bcc6 commit fd7c04bCopy full SHA for fd7c04b
.pre-commit-config.yaml
@@ -13,6 +13,10 @@ repos:
13
- id: end-of-file-fixer
14
- id: mixed-line-ending
15
- id: trailing-whitespace
16
+ - repo: https://github.com/google/yamlfmt
17
+ rev: v0.10.0
18
+ hooks:
19
+ - id: yamlfmt
20
- repo: https://github.com/astral-sh/ruff-pre-commit
21
# Ruff version.
22
rev: v0.4.8
@@ -32,12 +36,3 @@ repos:
32
36
language: node
33
37
additional_dependencies:
34
38
- "@taplo/cli"
35
- - id: format-yaml
- name: format yaml files
- files: \.ya?ml$
- exclude: conda-lock.yml
39
- entry: prettier
40
- args: [-w]
41
- language: node
42
- additional_dependencies:
43
- - prettier
.yamlfmt
@@ -0,0 +1,3 @@
1
+formatter:
2
+ type: basic
3
+ retain_line_breaks_single: true
0 commit comments