From d0ec19fe7d8205fa2341283a4ce6a3ebb283699b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 19:13:18 +0200 Subject: [PATCH 01/12] Check for misspellings in CI --- .github/workflows/pull_request.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c576605be43..43274313641 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,6 +29,11 @@ jobs: cache: npm - run: npm ci - run: npm test + spelling: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@master env: FORCE_COLOR: 3 From adf3f06db5ad7f8489fb16ce73643ca3672c0322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 17:16:58 +0000 Subject: [PATCH 02/12] Add typos configuration --- .typos.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .typos.toml diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000000..1dd5cf8a556 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,21 @@ +[files] +extend-exclude = [ + ".git/", +] +ignore-hidden = false + +[default] +extend-ignore-re = [ + "\\bext-shader-texture-lod\\b", + "\\bhttp\\.headers\\.ECT\\b", +] + +[default.extend-words] +"seeked" = "seeked" + +[default.extend-identifiers] +"is_transitionable" = "is_transitionable" +"EXT_shader_texture_lod" = "EXT_shader_texture_lod" + +# Typos +"Github" = "GitHub" From 46a333aca7721323b09782b785909688b8aa09ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 17:17:40 +0000 Subject: [PATCH 03/12] Fix typos --- ...or-managment.yml => canvas-2d-color-management.yml} | 0 ...nt.yml.dist => canvas-2d-color-management.yml.dist} | 2 +- features/hyphens.yml | 2 +- gh-pages/src/name-and-logo-usage-guidelines.md | 10 +++++----- 4 files changed, 7 insertions(+), 7 deletions(-) rename features/{canvas-2d-color-managment.yml => canvas-2d-color-management.yml} (100%) rename features/{canvas-2d-color-managment.yml.dist => canvas-2d-color-management.yml.dist} (85%) diff --git a/features/canvas-2d-color-managment.yml b/features/canvas-2d-color-management.yml similarity index 100% rename from features/canvas-2d-color-managment.yml rename to features/canvas-2d-color-management.yml diff --git a/features/canvas-2d-color-managment.yml.dist b/features/canvas-2d-color-management.yml.dist similarity index 85% rename from features/canvas-2d-color-managment.yml.dist rename to features/canvas-2d-color-management.yml.dist index 9a9b9fb6e49..1dce61cbedb 100644 --- a/features/canvas-2d-color-managment.yml.dist +++ b/features/canvas-2d-color-management.yml.dist @@ -1,4 +1,4 @@ -# Generated from: canvas-2d-color-managment.yml +# Generated from: canvas-2d-color-management.yml # Do not edit this file by hand. Edit the source file instead! status: diff --git a/features/hyphens.yml b/features/hyphens.yml index dcc58665df7..6f7a4538ffb 100644 --- a/features/hyphens.yml +++ b/features/hyphens.yml @@ -1,7 +1,7 @@ name: Hyphenation # The description should be revisited when support notes are added. # https://github.com/web-platform-dx/web-features/issues/915 -description: The `hyphens` CSS property controls when long words are broken by line wrapping. Although called `hyphens`, the property applies to word-splitting behavior across languages, such as customary spelling changes or the use of other characters. Support for non-English languages varies signficantly. +description: The `hyphens` CSS property controls when long words are broken by line wrapping. Although called `hyphens`, the property applies to word-splitting behavior across languages, such as customary spelling changes or the use of other characters. Support for non-English languages varies significantly. spec: https://drafts.csswg.org/css-text-3/#hyphens-property caniuse: css-hyphens group: css diff --git a/gh-pages/src/name-and-logo-usage-guidelines.md b/gh-pages/src/name-and-logo-usage-guidelines.md index 9f9c0a8a653..00c07793603 100644 --- a/gh-pages/src/name-and-logo-usage-guidelines.md +++ b/gh-pages/src/name-and-logo-usage-guidelines.md @@ -97,29 +97,29 @@ The Baseline Widely Available logo should be used when talking about Baseline as The Baseline Newly Available logo should only be used to indicate a indicate a specific web platform feature has the `"baseline": "low"` value in the web-features package data. -### Baseline Limited Availablity logo +### Baseline Limited Availability logo From afe3e0cb4c72efe2f1f855e9b13d4d68c4556ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 19:13:18 +0200 Subject: [PATCH 04/12] Check for misspellings in CI --- .github/workflows/pull_request.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c576605be43..43274313641 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,6 +29,11 @@ jobs: cache: npm - run: npm ci - run: npm test + spelling: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@master env: FORCE_COLOR: 3 From 9998f6c8e4b0a58fdde26f256e280e5077a5475b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 17:16:58 +0000 Subject: [PATCH 05/12] Add typos configuration --- .typos.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .typos.toml diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000000..1dd5cf8a556 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,21 @@ +[files] +extend-exclude = [ + ".git/", +] +ignore-hidden = false + +[default] +extend-ignore-re = [ + "\\bext-shader-texture-lod\\b", + "\\bhttp\\.headers\\.ECT\\b", +] + +[default.extend-words] +"seeked" = "seeked" + +[default.extend-identifiers] +"is_transitionable" = "is_transitionable" +"EXT_shader_texture_lod" = "EXT_shader_texture_lod" + +# Typos +"Github" = "GitHub" From 6c6db6d3867840dc3eb16073089ce0d6b70ce62d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 17:17:40 +0000 Subject: [PATCH 06/12] Fix typos --- features/hyphens.yml | 2 +- gh-pages/src/name-and-logo-usage-guidelines.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/features/hyphens.yml b/features/hyphens.yml index dcc58665df7..6f7a4538ffb 100644 --- a/features/hyphens.yml +++ b/features/hyphens.yml @@ -1,7 +1,7 @@ name: Hyphenation # The description should be revisited when support notes are added. # https://github.com/web-platform-dx/web-features/issues/915 -description: The `hyphens` CSS property controls when long words are broken by line wrapping. Although called `hyphens`, the property applies to word-splitting behavior across languages, such as customary spelling changes or the use of other characters. Support for non-English languages varies signficantly. +description: The `hyphens` CSS property controls when long words are broken by line wrapping. Although called `hyphens`, the property applies to word-splitting behavior across languages, such as customary spelling changes or the use of other characters. Support for non-English languages varies significantly. spec: https://drafts.csswg.org/css-text-3/#hyphens-property caniuse: css-hyphens group: css diff --git a/gh-pages/src/name-and-logo-usage-guidelines.md b/gh-pages/src/name-and-logo-usage-guidelines.md index 9f9c0a8a653..00c07793603 100644 --- a/gh-pages/src/name-and-logo-usage-guidelines.md +++ b/gh-pages/src/name-and-logo-usage-guidelines.md @@ -97,29 +97,29 @@ The Baseline Widely Available logo should be used when talking about Baseline as The Baseline Newly Available logo should only be used to indicate a indicate a specific web platform feature has the `"baseline": "low"` value in the web-features package data. -### Baseline Limited Availablity logo +### Baseline Limited Availability logo
- Baseline limited availablity icon
+ Baseline limited availability icon
Download PNG | Download SVG
- Baseline limited availablity icon dark
+ Baseline limited availability icon dark
Download PNG | Download SVG
- Baseline limited availablity wordmark
+ Baseline limited availability wordmark
Download PNG | Download SVG
- Baseline limited availablity wordmark dark
+ Baseline limited availability wordmark dark
Download PNG | Download SVG
From 92655d43b652843e902dae6cb45b7f536344641e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 24 Sep 2024 17:27:11 +0200 Subject: [PATCH 07/12] Make typos emit only annotations --- .github/workflows/pull_request.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 43274313641..e7e063ff83c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -33,7 +33,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: crate-ci/typos@master + - run: | + set -o pipefail + mkdir -p "${{ runner.temp }}/typos" + RELEASE_ASSET_URL="$( + gh api /repos/crate-ci/typos/releases/latest \ + --jq '."assets"[] | select(."name" | test("^typos-.+-x86_64-unknown-linux-musl\\.tar\\.gz$")) | ."browser_download_url"' + )" + wget --quiet --output-document=- "${RELEASE_ASSET_URL}" \ + | tar -xz -C "${{ runner.temp }}/typos" ./typos + git grep --files-with-matches --null -I -e '.' \ + | xargs --null --verbose -- "${{ runner.temp }}/typos/typos" --format json \ + | jq --raw-output '"::warning file=\(.path),line=\(.line_num),col=\(.byte_offset)::\"\(.typo)\" should be \"" + (.corrections // [] | join("\" or \"") + "\".")' \ + || true + env: + GH_TOKEN: ${{ github.token }} env: FORCE_COLOR: 3 From d975580545096ccbe0e435ef1bf9475e2724cef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 19:13:18 +0200 Subject: [PATCH 08/12] Check for misspellings in CI --- .github/workflows/pull_request.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c576605be43..43274313641 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,6 +29,11 @@ jobs: cache: npm - run: npm ci - run: npm test + spelling: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@master env: FORCE_COLOR: 3 From 8d2f0cc9541b7951d11464299b23299d476a26e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 23 Sep 2024 17:16:58 +0000 Subject: [PATCH 09/12] Add typos configuration --- .typos.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .typos.toml diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000000..1dd5cf8a556 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,21 @@ +[files] +extend-exclude = [ + ".git/", +] +ignore-hidden = false + +[default] +extend-ignore-re = [ + "\\bext-shader-texture-lod\\b", + "\\bhttp\\.headers\\.ECT\\b", +] + +[default.extend-words] +"seeked" = "seeked" + +[default.extend-identifiers] +"is_transitionable" = "is_transitionable" +"EXT_shader_texture_lod" = "EXT_shader_texture_lod" + +# Typos +"Github" = "GitHub" From 02b1e01c53d5ea3ae48e7a0dd3a9fe07e8e74faf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 24 Sep 2024 17:27:11 +0200 Subject: [PATCH 10/12] Make typos emit only annotations --- .github/workflows/pull_request.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 43274313641..e7e063ff83c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -33,7 +33,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: crate-ci/typos@master + - run: | + set -o pipefail + mkdir -p "${{ runner.temp }}/typos" + RELEASE_ASSET_URL="$( + gh api /repos/crate-ci/typos/releases/latest \ + --jq '."assets"[] | select(."name" | test("^typos-.+-x86_64-unknown-linux-musl\\.tar\\.gz$")) | ."browser_download_url"' + )" + wget --quiet --output-document=- "${RELEASE_ASSET_URL}" \ + | tar -xz -C "${{ runner.temp }}/typos" ./typos + git grep --files-with-matches --null -I -e '.' \ + | xargs --null --verbose -- "${{ runner.temp }}/typos/typos" --format json \ + | jq --raw-output '"::warning file=\(.path),line=\(.line_num),col=\(.byte_offset)::\"\(.typo)\" should be \"" + (.corrections // [] | join("\" or \"") + "\".")' \ + || true + env: + GH_TOKEN: ${{ github.token }} env: FORCE_COLOR: 3 From f3fd2b3bd8dea9d93de746e9d5ebf30963cf8fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 20 Dec 2024 17:29:46 +0100 Subject: [PATCH 11/12] Update .typos.toml --- .typos.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.typos.toml b/.typos.toml index 1dd5cf8a556..914eafdd1bd 100644 --- a/.typos.toml +++ b/.typos.toml @@ -11,6 +11,7 @@ extend-ignore-re = [ ] [default.extend-words] +"clonable" = "clonable" "seeked" = "seeked" [default.extend-identifiers] From b79480be18dce67a8d8713aa7a01dd5c76156688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 27 Feb 2025 17:16:53 +0100 Subject: [PATCH 12/12] Update .typos.toml --- .typos.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.typos.toml b/.typos.toml index fbdfd5e2a11..e6eb0f8a965 100644 --- a/.typos.toml +++ b/.typos.toml @@ -14,6 +14,8 @@ extend-ignore-re = [ [default.extend-words] "clonable" = "clonable" "seeked" = "seeked" +# https://github.com/web-platform-dx/web-features/pull/2484 +"seperators" = "seperators" [default.extend-identifiers] "EXT_shader_texture_lod" = "EXT_shader_texture_lod"
- Baseline limited availablity icon
+ Baseline limited availability icon
Download PNG | Download SVG
- Baseline limited availablity icon dark
+ Baseline limited availability icon dark
Download PNG | Download SVG
- Baseline limited availablity wordmark
+ Baseline limited availability wordmark
Download PNG | Download SVG
- Baseline limited availablity wordmark dark
+ Baseline limited availability wordmark dark
Download PNG | Download SVG