Skip to content

Commit 6e19b33

Browse files
committed
ALT spelling option
1 parent 51fb140 commit 6e19b33

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/basic-qa.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,16 @@ jobs:
7979
# yamllint disable-line rule:line-length
8080
if: ${{ steps.spellcheck.outputs.success == "false" && steps.spellcheck.outputs.number_of_issues != 11 && steps.spellcheck.outputs.number_of_files_with_issues != 5}}
8181
run: exit 1
82+
83+
spellcheck-5:
84+
name: Spellcheck-5
85+
# Config file: _typos.toml
86+
87+
runs-on: ubuntu-latest
88+
89+
steps:
90+
- name: Checkout code
91+
uses: actions/checkout@v4
92+
93+
- name: "Search for misspellings"
94+
uses: "crate-ci/typos@v1"

_typos.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[files]
2+
extend-exclude = [
3+
".git/",
4+
]
5+
ignore-hidden = true
6+
7+
[default]
8+
locale = "en-gb"
9+
check-filename = true
10+
11+
[default.extend-words]
12+
# Don't correct for the CLI flag name.
13+
colors = "colors"
14+
# Don't correct for the Zend tooling name.
15+
Analyzer = "Analyzer"

0 commit comments

Comments
 (0)