diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt new file mode 100644 index 00000000..8bf19440 --- /dev/null +++ b/.github/actions/spelling/excludes.txt @@ -0,0 +1,3 @@ +^package(?:|-lock)\.json$ +^\.github/actions/spelling/ +ignore$ diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt new file mode 100644 index 00000000..91463e72 --- /dev/null +++ b/.github/actions/spelling/expect.txt @@ -0,0 +1,107 @@ +anum +args +argv +asdf +baz +blerg +bnum +Browserified +BUILDIDENTIFIER +CARETLOOSE +CARETTRIM +cmp +COERCERTL +COMPARATORLOOSE +COMPARATORTRIM +compver +concat +ctor +dirname +ecomp +ent +enum +eslint +fallthrough +fooblz +fpr +FULLPLAIN +github +glorp +gtfn +gtlt +gtr +hilo +http +HYPHENRANGE +HYPHENRANGELOOSE +instanceof +javascript +json +jw +kinda +linux +LONECARET +LONETILDE +LOOSEPLAIN +lte +ltefn +ltfn +MAINVERSION +MAINVERSIONLOOSE +metadata +minver +neq +neveragain +NONNUMERICIDENTIFIER +notready +npm +numberify +NUMERICIDENTIFIER +NUMERICIDENTIFIERLOOSE +otherbuild +preid +preload +premajor +preminor +prepatch +PRERELEASEIDENTIFIER +PRERELEASEIDENTIFIERLOOSE +PRERELEASELOOSE +rcompare +readdir +Refactor +regexp +rsort +rtl +rv +sadf +Schlueter +semver +sneks +src +Standalone +stderr +stdout +stringify +substr +sut +sys +TILDELOOSE +TILDETRIM +TODO +tokenizing +tostring +tpr +typeof +ubuntu +usr +utf +webpack +xm +xp +xrange +XRANGEIDENTIFIER +XRANGEIDENTIFIERLOOSE +XRANGELOOSE +XRANGEPLAIN +XRANGEPLAINLOOSE diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt new file mode 100644 index 00000000..fa520905 --- /dev/null +++ b/.github/actions/spelling/patterns.txt @@ -0,0 +1 @@ +\\[brn] diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml new file mode 100644 index 00000000..db74f454 --- /dev/null +++ b/.github/workflows/spelling.yml @@ -0,0 +1,13 @@ +name: Spell checking +on: + push: + +jobs: + build: + name: Spell checking + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.0.0 + with: + fetch-depth: 5 + - uses: check-spelling/check-spelling@prerelease