Skip to content

Commit

Permalink
Set up spell-checking action
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Mar 2, 2020
1 parent 20e4c24 commit 31d73b0
Show file tree
Hide file tree
Showing 3 changed files with 3,375 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/actions/spell-check/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
(?:^|/)go\.mod$
(?:^|/)go\.sum$
(?:^|/)package-lock\.json$
SUMS$
\.ai$
\.bmp$
\.cer$
\.class$
\.crl$
\.crt$
\.csr$
\.dll$
\.DS_Store$
\.eot$
\.eps$
\.exe$
\.gif$
\.graffle$
\.gz$
\.icns$
\.ico$
\.jar$
\.jpeg$
\.jpg$
\.key$
\.lib$
\.lock$
\.map$
\.min\..
\.mp3$
\.mp4$
\.otf$
\.pdf$
\.pem$
\.png$
\.psd$
\.sig$
\.so$
\.svg$
\.svgz$
\.tar$
\.tgz$
\.ttf$
\.woff
\.xcf$
\.xls
\.xpm$
\.yml$
\.zip$
^dep/
^doc/reference/UTF8-torture-test\.txt$
^excludes\.txt$
^src/interactivity/onecore/BgfxEngine\.
^src/renderer/wddmcon/WddmConRenderer\.
^src/terminal/parser/ft_fuzzer/VTCommandFuzzer\.cpp$
^src/tools/U8U16Test/(?:fr|ru|zh)\.txt$
^whitelist\.txt$
^\.github/actions/spell-check/
Loading

2 comments on commit 31d73b0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New misspellings found, please review:

  • combinine
  • ve
To accept these changes, run the following commands
(
egrep -v "$(echo "i'th
L'a
L'b
L'c
L'e
L'f
L'g
L'h
L'l
L'm
L'n
L'o
L'p
L'q
L'r
L't
L'u
L'v
L'x
L'y
L'z
u'arrow
u'beer
u'bullet
u'burrito
u'checkbox
u'circle
u'cross
u'dot
u'ellipsis
u'five
u'four
u'hamburger
u'heart
u'info
u'line
u'mustache
u'one
u'play
u'pointer
u'radio
u'seven
u'smiley
u'square
u'star
u'three
u'tick
u'two
u'warning" | tr "\n" " " | perl -pne 's/^/^(/;s/\s$/)\$/;s/\s/|/g')" .github/actions/spell-check/whitelist.txt;
echo "
combinine
ve
"
) | sort -u -f | grep . > new_whitelist.txt && mv new_whitelist.txt .github/actions/spell-check/whitelist.txt

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New misspellings found, please review:

  • combinine
  • ve
To accept these changes, run the following commands
(
egrep -v "$(echo "i'th
L'a
L'b
L'c
L'e
L'f
L'g
L'h
L'l
L'm
L'n
L'o
L'p
L'q
L'r
L't
L'u
L'v
L'x
L'y
L'z
u'arrow
u'beer
u'bullet
u'burrito
u'checkbox
u'circle
u'cross
u'dot
u'ellipsis
u'five
u'four
u'hamburger
u'heart
u'info
u'line
u'mustache
u'one
u'play
u'pointer
u'radio
u'seven
u'smiley
u'square
u'star
u'three
u'tick
u'two
u'warning" | tr "\n" " " | perl -pne 's/^/^(/;s/\s$/)\$/;s/\s/|/g')" .github/actions/spell-check/whitelist.txt;
echo "
combinine
ve
"
) | sort -u -f | grep . > new_whitelist.txt && mv new_whitelist.txt .github/actions/spell-check/whitelist.txt

Please sign in to comment.