Skip to content

Commit

Permalink
fix: hookup cspell and eslint for lint-staged (#16)
Browse files Browse the repository at this point in the history
* fix: hookup cspell and eslint for lint-staged

* Update README.md
  • Loading branch information
andiwils authored and GitHub Enterprise committed Aug 18, 2021
1 parent 3f95e59 commit ad42e8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ Handles the WebRTC core functionality.
1. Run `yarn dev:bootstrap`
1. Run `yarn dev`
1. Open http://localhost:3000/

## Usage

This library uses [cspell](https://github.com/streetsidesoftware/cspell) to check spelling throughout the codebase. Any words that need to be ignored (e.g., package names, protocols, etc.), should be added to the `ignoreWords` field in the [cpsell.json](./cspell.json) configuration file.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint"
"eslint --max-warnings=0",
"cspell"
]
},
"engines": {
Expand Down

0 comments on commit ad42e8b

Please sign in to comment.