Skip to content

Commit f99d3e5

Browse files
committed
ALT spelling option
1 parent 65e226c commit f99d3e5

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
@@ -77,3 +77,16 @@ jobs:
7777
# yamllint disable-line rule:line-length
7878
if: ${{ steps.spellcheck.outputs.success == false && steps.spellcheck.outputs.number_of_issues != 11 && steps.spellcheck.outputs.number_of_files_with_issues != 5}}
7979
run: exit 1
80+
81+
spellcheck-5:
82+
name: Spellcheck-5
83+
# Config file: _typos.toml
84+
85+
runs-on: ubuntu-latest
86+
87+
steps:
88+
- name: Checkout code
89+
uses: actions/checkout@v4
90+
91+
- name: "Search for misspellings"
92+
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)