Skip to content

Commit 1dba7ca

Browse files
committed
feat(CI): add a GitHub Action to check spelling
Found a better way to check spelling. This Go tool does find mistakes in source code as well as Markdown. From my experience it does not work on all file types or find all the errors, but it does seem to work well on code comments - refs plotly#5349 - refs plotly/dash#1081 Using -> https://github.com/client9/misspell
1 parent 8e72a12 commit 1dba7ca

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/spell-checker.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 🏀 Spellchecker
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
misspell:
7+
name: 🧹 Check Spelling
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: 🥭 Check Out
11+
uses: actions/checkout@v2
12+
- name: 🏗️ Install
13+
run: |
14+
wget -O - -q https://git.io/misspell | sh -s -- -b .
15+
- name: 🧹 Misspell
16+
run: |
17+
find . -not -path './build**' -not -path './dist**' -not -path './node_modules**' -type f | xargs misspell -error -i 'transforme,verificato'

0 commit comments

Comments
 (0)