Skip to content

Commit 11314c9

Browse files
committed
ALT spelling option
1 parent 33413d7 commit 11314c9

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/basic-qa.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,24 @@ jobs:
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
8080

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"
93+
94+
- name: Run ShellCheck
95+
uses: ludeeus/[email protected]
96+
with:
97+
format: gcc
98+
8199
shellcheck:
82100
name: 'ShellCheck'
83101
runs-on: ubuntu-latest

_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)