Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ check-filenames =
check-hidden =
ignore-words-list =
deafults,
gost,
empress,
master,
musl,
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ charset = utf-8
[*.{c,h}]
indent_style = tab

[*.{html,json,md,sh,yaml,yml}]
[*.{html,json,md,sh,toml,yaml,yml}]
indent_size = 2

[Makefile]
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: Install checking tools
run: |
pipx install codespell
cargo install typos-cli --locked
curl -OL https://github.com/petk/normalizator/releases/latest/download/normalizator.phar
chmod +x normalizator.phar
mv normalizator.phar /usr/local/bin/normalizator
Expand All @@ -41,6 +42,10 @@ jobs:
if: ${{ always() }}
run: codespell

- name: Run typos
if: ${{ always() }}
run: typos

- name: Run normalizator.phar
if: ${{ always() }}
run: normalizator check --not php-src --not .git .
Expand Down
29 changes: 29 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# The typos-cli configuration.
# https://github.com/crate-ci/typos

[files]
ignore-hidden = false
ignore-dot = false
extend-exclude = [
".git/",
"patches/",
]

[default]
binary = false
check-filename = true
check-file = true
unicode=true
locale = "en-us"
extend-ignore-re = []
extend-ignore-identifiers-re = [
"ANC_CREDS_CMSGCRED",
"ANC_CREDS_UCRED",
"PDO_DBLIB_FLAVOUR",
"secur32",
]
extend-ignore-words-re = [
"deafults",
"gost",
"shs",
]
Loading