Skip to content

Commit a755f99

Browse files
authored
Ignore code blocks from spell checking (#103)
1 parent d8b746b commit a755f99

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# generic ignore spelling block
2+
<!--begin no spell check-->
3+
<!--end no spell check-->
4+
5+
# ignore code blocks
6+
```
7+
```

.github/workflows/spelling.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- name: Check spelling
1313
id: spelling
14-
uses: check-spelling/[email protected]
14+
# The given commit contains preliminary, unreleased, support for ignoring
15+
# whole blocks (multi-line) from spell checking. See
16+
# https://github.com/check-spelling/check-spelling/commit/46c981b7c96b3777aff4fd711fc9a8f126121b04
17+
# for more details.
18+
# The given commit contains preliminary, unreleased, support for ignoring
19+
# whole blocks (multi-line) from spell checking. See
20+
# https://github.com/check-spelling/check-spelling/commit/46c981b7c96b3777aff4fd711fc9a8f126121b04
21+
# for more details.
22+
uses: check-spelling/check-spelling@46c981b7c96b3777aff4fd711fc9a8f126121b04
1523
with:
1624
check_file_names: 1
1725
post_comment: 0

0 commit comments

Comments
 (0)