Skip to content

Commit 0ba53b6

Browse files
committed
feat: add prettier-plugin-sh
1 parent 3eafcf9 commit 0ba53b6

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

ci/dev/fmt.sh

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ main() {
1616
"*.toml"
1717
"*.yaml"
1818
"*.yml"
19+
"*.sh"
1920
)
2021
prettier --write --loglevel=warn $(
2122
git ls-files "${prettierExts[@]}" | grep -v "lib/vscode" | grep -v 'helm-chart'

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
"istanbul-badges-readme": "^1.2.0",
6464
"leaked-handles": "^5.2.0",
6565
"parcel-bundler": "^1.12.4",
66-
"prettier": "^2.0.5",
66+
"prettier": "^2.2.1",
67+
"prettier-plugin-sh": "^0.6.0",
6768
"stylelint": "^13.0.0",
6869
"stylelint-config-recommended": "^3.0.0",
6970
"ts-node": "^9.0.0",

yarn.lock

+13-1
Original file line numberDiff line numberDiff line change
@@ -5202,6 +5202,11 @@ [email protected]:
52025202
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
52035203
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
52045204

5205+
mvdan-sh@^0.5.0:
5206+
version "0.5.0"
5207+
resolved "https://registry.yarnpkg.com/mvdan-sh/-/mvdan-sh-0.5.0.tgz#fa76f611a103595ad0f04f5d18e582892c46e87c"
5208+
integrity sha512-UWbdl4LHd2fUnaEcOUFVWRdWGLkNoV12cKVIPiirYd8qM5VkCoCTXErlDubevrkEG7kGohvjRxAlTQmOqG80tw==
5209+
52055210
nan@^2.12.1:
52065211
version "2.14.2"
52075212
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
@@ -6306,7 +6311,14 @@ prettier-linter-helpers@^1.0.0:
63066311
dependencies:
63076312
fast-diff "^1.1.2"
63086313

6309-
prettier@^2.0.5:
6314+
prettier-plugin-sh@^0.6.0:
6315+
version "0.6.0"
6316+
resolved "https://registry.yarnpkg.com/prettier-plugin-sh/-/prettier-plugin-sh-0.6.0.tgz#021c22597a5a866c346095cd7f6c662a49dea249"
6317+
integrity sha512-y+SSThg/8mrGGkcAolWpociiTZlH7nlIUtqZl1dueyhngof8rD48tUHVQqvIaCx21T/0+9TyzsTEsVviPjR5og==
6318+
dependencies:
6319+
mvdan-sh "^0.5.0"
6320+
6321+
prettier@^2.2.1:
63106322
version "2.2.1"
63116323
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
63126324
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==

0 commit comments

Comments
 (0)