-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace yamlfmt with pretty_yaml to keep simple dependencies (#292)
* Replcae yamlfmt with pretty_yaml * `dprint config update --yes` * Prefer single quote for YAML strings to keep current style We should remember they recommend to use double quoting https://github.com/g-plane/pretty_yaml/blob/444cc16883442534fcbf61437582fe4d63d22bb6/docs/config.md#L41 * `dprint fmt`
- Loading branch information
Showing
6 changed files
with
6 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,3 @@ jobs: | |
cache-dependency-path: 'tool/go.sum' | ||
- name: Build | ||
run: go build -C ./tool/sincelastcommit -v | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
{ | ||
"excludes": [], | ||
"exec": { | ||
"commands": [{ | ||
"command": "yamlfmt -in -formatter retain_line_breaks=true", | ||
"exts": ["yaml", "yml"] | ||
}] | ||
"yaml": { | ||
"quotes": "preferSingle" | ||
}, | ||
"plugins": [ | ||
"https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7" | ||
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.2.0.wasm" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ | |
gnumake | ||
coreutils | ||
peco | ||
yamlfmt | ||
typos | ||
imagemagick | ||
actionlint | ||
|