Skip to content

Commit

Permalink
chore(spellcheck): allow for each spellcheck from dev environment
Browse files Browse the repository at this point in the history
rework github action to use the added run script
  • Loading branch information
mikehardy committed Nov 10, 2020
1 parent 90d99c2 commit 0ba1df7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
command: sudo npm install --global spellchecker-cli
- name: Spell check
run: |
spellchecker --quiet --files="docs/**/*.md" --dictionaries="./.spellcheck.dict.txt" --reports="spelling.json" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter
yarn lint:spellcheck
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"build:all:build": "lerna run build",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:report": "eslint --output-file=eslint-report.json --format=json . --ext .js,.jsx,.ts,.tsx",
"lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter",
"tsc:compile": "tsc --project .",
"lint:all": "yarn lint && yarn lint:spellcheck && yarn tsc:compile",
"lerna:bootstrap": "lerna bootstrap",
"lerna:link": "lerna link",
"lerna:clean": "lerna clean",
Expand Down

0 comments on commit 0ba1df7

Please sign in to comment.