https://github.com/nlight/github-spell-checker
https://github.com/nlight/github-spell-checker
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nlight/github-spell-checker
- Owner: nLight
- License: mit
- Created: 2020-06-25T14:00:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T12:10:25.000Z (over 3 years ago)
- Last Synced: 2025-09-16T21:43:06.945Z (10 months ago)
- Language: JavaScript
- Size: 579 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github PRs spell checker 
## Config
1. Setup a `push/pull_request` webhook handler OR add [the Github Action](https://github.com/nLight/github-spell-checker/blob/master/.github/workflows/spell-checker.yml)
2. Optionally add a [cspell config file](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#customization) to your repo. It won't resolve dictionary definitions for now. You can add `words` and `ignoredWords` though.
3. That's it for now
## How it works
1. Loads the config files
2. Fetches PR changes (pattch files)
3. Filters added/modifyed lines
4. Checks the spelling
5. Suggests the changes as the PR comments
6. **DOES NOT** Remove own stale comments for now
## Roadmap
1. Allow for external config files
2. Support local dictionary definitions
3. Support external dictionary definitions
4. Remove stale comments
5. Support Approve / Request Changes workflow
## Credits
Inspired by https://github.com/check-spelling/check-spelling.
Unfortunately the project has no tests, no comments and written in a mixture of languages. Also Github Actions are not available for some accounts.