Skip to content

Commit

Permalink
Add check-spelling/check-spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Dec 30, 2020
1 parent 98e3f31 commit b96bdfd
Show file tree
Hide file tree
Showing 4 changed files with 503 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
^\.github/
/package(?:-lock|)\.json$
^\.travis.yml$
^MacDown/Resources/Extensions/
/MathJax/
\.min\.
^Gemfile$
^Dependency/
^LICENSE/
/[^B][^/]+\.lproj/
ignore$
\.gitmodules$
\.icns$
\.lock$
\.map$
\.pem$
\.png$
\.rtf$
\.xccheckout$
\.xcscheme$
\.xcscmblueprint$
\.xcsettings$
\.xcworkspacedata$
\.pbxproj$
\.style$

1 comment on commit b96bdfd

@github-actions
Copy link

Choose a reason for hiding this comment

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

Misspellings found, please review:

  • Accesory
  • ambiguious
  • appriciate
  • backgound
  • charaters
  • codument
  • Convinience
  • defualt
  • dimention
  • doument
  • grammer
  • multipler
  • ommitted
  • Overriden
  • Perferences
  • Safty
  • Stetements
  • Strikethough
  • supresses
  • whould
To accept these changes, run the following commands from the root of this repository on this branch
cd $(git rev-parse --show-toplevel)
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
make_path ".github/actions/spelling";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"Accesory ambiguious appriciate backgound charaters codument Convinience defualt dimention doument grammer multipler ommitted Overriden Perferences Safty Stetements Strikethough supresses whould "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'

Please sign in to comment.