fix linter

This commit is contained in:
Thomas Tendyck 2023-03-10 16:59:44 +01:00
parent 6629d2c17f
commit 3124e497f4
8 changed files with 25 additions and 25 deletions

View file

@ -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

View file

@ -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.
:::
<asciinemaWidget src="/constellation/assets/configure-cluster.cast" rows={20} cols={112} idleTimeLimit={3} preload={true} theme={'edgeless'} />
<asciinemaWidget src="/constellation/assets/configure-cluster.cast" rows="20" cols="112" idleTimeLimit="3" preload="true" theme="edgeless" />
---

View file

@ -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.
:::
<asciinemaWidget src="/constellation/assets/create-cluster.cast" rows={20} cols={112} idleTimeLimit={3} preload={true} theme={'edgeless'} />
<asciinemaWidget src="/constellation/assets/create-cluster.cast" rows="20" cols="112" idleTimeLimit="3" preload="true" theme="edgeless" />
---

View file

@ -1,6 +1,6 @@
# Consume software bill of materials (SBOMs)
<asciinemaWidget src="/constellation/assets/check-sbom.cast" rows={20} cols={112} idleTimeLimit={3} preload={true} theme={'edgeless'} />
<asciinemaWidget src="/constellation/assets/check-sbom.cast" rows="20" cols="112" idleTimeLimit="3" preload="true" theme="edgeless" />
---

View file

@ -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.
:::
<asciinemaWidget src="/constellation/assets/terminate-cluster.cast" rows={20} cols={112} idleTimeLimit={3} preload={true} theme={'edgeless'} />
<asciinemaWidget src="/constellation/assets/terminate-cluster.cast" rows="20" cols="112" idleTimeLimit="3" preload="true" theme="edgeless" />
---

View file

@ -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.
:::
<asciinemaWidget src="/constellation/assets/verify-cli.cast" rows={20} cols={112} idleTimeLimit={3} preload={true} theme={'edgeless'} />
<asciinemaWidget src="/constellation/assets/verify-cli.cast" rows="20" cols="112" idleTimeLimit="3" preload="true" theme="edgeless" />
---

View file

@ -19,9 +19,9 @@ docker run -it \
# 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