Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev/migrie/b/979-hp…
Browse files Browse the repository at this point in the history
…-touchBAD
  • Loading branch information
zadjii-msft committed Mar 26, 2020
2 parents cf9d172 + 31efd69 commit b5a6de3
Show file tree
Hide file tree
Showing 124 changed files with 487,321 additions and 466 deletions.
20 changes: 20 additions & 0 deletions .github/actions/spell-check/dictionary/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dictionaries are lists of words to accept unconditionally

While check spelling will complain about a whitelisted word
which is no longer present, you can include things here even if
they are not otherwise present in the repository.

E.g., you could include a list of system APIs here, or potential
contributors (so that if a future commit includes their name,
it'll be accepted).

### Files

| File | Description |
| ---- | ----------- |
| [Dictionary](dictionary.txt) | Primary US English dictionary |
| [Chinese](chinese.txt) | Chinese words |
| [Japanese](japanese.txt) | Japanese words |
| [Microsoft](microsoft.txt) | Microsoft brand items |
| [Fonts](fonts.txt) | Font names |
| [Names](names.txt) | Names of people |
5 changes: 5 additions & 0 deletions .github/actions/spell-check/dictionary/chinese.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CHINESEBIG
choseong
Jongseong
Jungseong
ssangtikeut
Loading

1 comment on commit b5a6de3

@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:

  • IMouse
  • recieved
  • touchpad
  • trackpad
To accept these changes, run the following commands
remove_obsolete_words=$(mktemp)
echo '#!/usr/bin/perl -ni
my $re=join "|", qw(
Impl
trackpads
);
next if /^($re)(?:$| .*)/;
print;' > $remove_obsolete_words
chmod +x $remove_obsolete_words
for file in .github/actions/spell-check/whitelist/alphabet.txt .github/actions/spell-check/whitelist/web.txt .github/actions/spell-check/whitelist/whitelist.txt; do $remove_obsolete_words $file; done
rm $remove_obsolete_words
(
echo "
IMouse
impl
recieved
touchpad
trackpad
"
) | sort -u -f | perl -ne 'next unless /./; print' > new_whitelist.txt && mv new_whitelist.txt '.github/actions/spell-check/whitelist/b5a6de329e0ef772dc5935e43e86b87d546d89e4.txt'

Please sign in to comment.