Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Spell check #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 8 additions & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ignore$
(?:^|/)(?i)COPYRIGHT
(?:^|/)(?i)LICEN[CS]E
(?:^|/)vendor/
/git/
^\.github/
\.lock$
\.pack$
124 changes: 124 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
api
AQLP
args
argv
arrayify
Authfile
cacheable
caze
chaindown
changelog
ci
circleci
codebase
commandsstop
commitish
commonjs
concat
config
contextualized
conventionalcommits
ctx
cwd
Darcs
Dependabot
dillutes
dirname
doctoc
dripip
dryrun
dsc
execpath
fbf
fd
func
gh
gitbranch
github
gitlog
globals
graphql
homedir
http
ignoreme
Interop
isogit
issuecomment
jasonkuhrt
jetpack
json
JSONCLI
keyof
Kuhrt
lockfile
metadata
namespace
nodefs
nodejs
npm
npmjs
npmrc
npx
oclif
octo
octokit
oid
outerloop
overridable
packagejson
pacman
passthrough
pj
pjd
plugin
png
postpublish
Prefixify
previewtags
prisma
programatically
pstable
qux
readme
realpath
refactor
revparse
scm
sdk
semver
shasha
src
stackoverflow
stderr
stdio
stdout
stringify
svg
symlink
taggerdate
tbc
testname
testv
tmp
tmpdir
toc
todo
tsc
tsconfig
tt
typeahead
typeof
ubuntu
unshallow
unsupport
upsert
url
Username
usr
utils
validator
vprefix
workflow
yarnlock
yarnpkg
yml
2 changes: 2 additions & 0 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ignore long runs of a single character:
\b([A-Za-z])\g{-1}{3,}\b
16 changes: 16 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Spell checking
on:
pull_request_target:
push:
issue_comment:
pull_request_review_comment:

jobs:
build:
name: Spell checking
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: check-spelling/[email protected]