From 3124e497f48d15cfdbb2dc611a686ff6946eddd7 Mon Sep 17 00:00:00 2001 From: Thomas Tendyck Date: Fri, 10 Mar 2023 16:59:44 +0100 Subject: [PATCH] fix linter --- .vale.ini | 2 +- docs/docs/workflows/config.md | 4 ++-- docs/docs/workflows/create.md | 2 +- docs/docs/workflows/sbom.md | 2 +- docs/docs/workflows/terminate.md | 2 +- docs/docs/workflows/verify-cli.md | 2 +- docs/screencasts/generate-readme-svg.sh | 12 ++++++------ docs/screencasts/generate-screencasts.sh | 24 ++++++++++++------------ 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.vale.ini b/.vale.ini index c11efb81e..36a01c5ef 100644 --- a/.vale.ini +++ b/.vale.ini @@ -4,7 +4,7 @@ Vocab = constellation # IgnoredScopes specifies inline-level HTML tags to ignore. # These tags may occur in an active scope (unlike SkippedScopes, skipped entirely) but their content still will not raise any alerts. # Default: ignore `code` and `tt`. -IgnoredScopes = code, tt, img, asciinemaWidget +IgnoredScopes = code, tt, img [*.md] BasedOnStyles = Vale, Microsoft, Google diff --git a/docs/docs/workflows/config.md b/docs/docs/workflows/config.md index b5ca536d2..571a1fca6 100644 --- a/docs/docs/workflows/config.md +++ b/docs/docs/workflows/config.md @@ -4,7 +4,7 @@ This recording presents the essence of this page. It's recommended to read it in full for the motivation and all details. ::: - + --- @@ -263,4 +263,4 @@ You can keep a created IAM configuration and reuse it for new clusters. Alternat Delete the IAM configuration by executing the following command in the same directory where you executed `constellation iam create` (the directory that contains [`constellation-iam-terraform`](../reference/terraform.md) as a subdirectory): ```bash constellation iam destroy -``` \ No newline at end of file +``` diff --git a/docs/docs/workflows/create.md b/docs/docs/workflows/create.md index 7aed4c5c8..de1ae3ba0 100644 --- a/docs/docs/workflows/create.md +++ b/docs/docs/workflows/create.md @@ -4,7 +4,7 @@ This recording presents the essence of this page. It's recommended to read it in full for the motivation and all details. ::: - + --- diff --git a/docs/docs/workflows/sbom.md b/docs/docs/workflows/sbom.md index fa63e2c72..4b8d2edd8 100644 --- a/docs/docs/workflows/sbom.md +++ b/docs/docs/workflows/sbom.md @@ -1,6 +1,6 @@ # Consume software bill of materials (SBOMs) - + --- diff --git a/docs/docs/workflows/terminate.md b/docs/docs/workflows/terminate.md index 2b6725ffc..647eadb42 100644 --- a/docs/docs/workflows/terminate.md +++ b/docs/docs/workflows/terminate.md @@ -4,7 +4,7 @@ This recording presents the essence of this page. It's recommended to read it in full for the motivation and all details. ::: - + --- diff --git a/docs/docs/workflows/verify-cli.md b/docs/docs/workflows/verify-cli.md index 3aa983f28..a49abbc0d 100644 --- a/docs/docs/workflows/verify-cli.md +++ b/docs/docs/workflows/verify-cli.md @@ -4,7 +4,7 @@ This recording presents the essence of this page. It's recommended to read it in full for the motivation and all details. ::: - + --- diff --git a/docs/screencasts/generate-readme-svg.sh b/docs/screencasts/generate-readme-svg.sh index f8261ed72..c704f05dc 100755 --- a/docs/screencasts/generate-readme-svg.sh +++ b/docs/screencasts/generate-readme-svg.sh @@ -12,16 +12,16 @@ docker build -t screenrecodings docker # Create cast docker run -it \ - -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ - -v "$(pwd)"/recordings:/recordings \ - -v "$(pwd)"/constellation:/constellation \ - screenrecodings /scripts/github-readme.expect + -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ + -v "$(pwd)"/recordings:/recordings \ + -v "$(pwd)"/constellation:/constellation \ + screenrecodings /scripts/github-readme.expect # Fix meta data: width and height are always zero in Docker produced cast files. # Header is the first lint of cast file in JSON format, we read, fix and write it. -head recordings/github-readme.cast -n 1 | yq e -M '.width = 95 | .height = 17' - >new_header.cast +head recordings/github-readme.cast -n 1 | yq e -M '.width = 95 | .height = 17' - > new_header.cast # Then append everything, expect first line from original cast file. -tail -n+2 recordings/github-readme.cast >>new_header.cast +tail -n+2 recordings/github-readme.cast >> new_header.cast # Then render cast into svg using: # https://github.com/nbedos/termtosvg diff --git a/docs/screencasts/generate-screencasts.sh b/docs/screencasts/generate-screencasts.sh index cefd57e86..173b14a63 100755 --- a/docs/screencasts/generate-screencasts.sh +++ b/docs/screencasts/generate-screencasts.sh @@ -28,24 +28,24 @@ cp recordings/check-sbom.cast ../static/assets/check-sbom.cast # Create config docker run -it \ - -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ - -v "$(pwd)"/recordings:/recordings \ - -v "$(pwd)"/constellation:/constellation \ - screenrecodings /scripts/configure-cluster.expect + -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ + -v "$(pwd)"/recordings:/recordings \ + -v "$(pwd)"/constellation:/constellation \ + screenrecodings /scripts/configure-cluster.expect cp recordings/configure-cluster.cast ../static/assets/configure-cluster.cast # Create cluster docker run -it \ - -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ - -v "$(pwd)"/recordings:/recordings \ - -v "$(pwd)"/constellation:/constellation \ - screenrecodings /scripts/create-cluster.expect + -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ + -v "$(pwd)"/recordings:/recordings \ + -v "$(pwd)"/constellation:/constellation \ + screenrecodings /scripts/create-cluster.expect cp recordings/create-cluster.cast ../static/assets/create-cluster.cast # Terminate cluster docker run -it \ - -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ - -v "$(pwd)"/recordings:/recordings \ - -v "$(pwd)"/constellation:/constellation \ - screenrecodings /scripts/terminate-cluster.expect + -v "${HOME}"/.config/gcloud:/root/.config/gcloud \ + -v "$(pwd)"/recordings:/recordings \ + -v "$(pwd)"/constellation:/constellation \ + screenrecodings /scripts/terminate-cluster.expect cp recordings/terminate-cluster.cast ../static/assets/terminate-cluster.cast