# yaspeller-ci
**Repository Path**: mirrors_ai/yaspeller-ci
## Basic Information
- **Project Name**: yaspeller-ci
- **Description**: Fast spelling check for Travis CI
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-01-26
- **Last Updated**: 2025-12-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Yaspeller for CI
Fast spelling check for Travis CI and AppVeyor.
It is just simple wrap for [yaspeller], CLI for [Yandex.Speller] API.
But it runs spelling check only in first CI job,
to speed up build time and reduce unnecessary burden for CI service
and Yandex.Speller API.
[Yandex.Speller]: https://tech.yandex.ru/speller/doc/dg/concepts/About-docpage/
[yaspeller]: https://github.com/hcodes/yaspeller
## Usage
Install `yaspeller-ci`:
```sh
npm install yaspeller-ci --save-dev
```
And add it to npm scripts:
```json
"scripts": {
"spellcheck": "yaspeller-ci *.md",
"test": "npm run unit && npm run lint && npm run spellcheck"
}
```
If you use JSDoc, we recommend to pass them by spelling check too:
```json
"scripts": {
"docs": "jsdoc --configure .jsdocrc *.js",
"spellcheck": "npm run docs && yaspeller-ci *.md api/*.html",
"test": "npm run unit && npm run lint && npm run spellcheck"
}
```
## Config
You can specify own dictionary and spelling check options
in `.yaspellerrc` config.
```json
{
"lang": "en",
"dictionary": [
"yaspeller",
"Travis"
]
}
```
Full list of options could be found in [`yaspeller` docs].
[`yaspeller` docs]: https://github.com/hcodes/yaspeller#configuration
## Extra
We recommend to combine Yaspeller CI with [`lint-staged`]:
```json
"lint-staged": {
"*.md": "yaspeller-ci"
}
```
[`lint-staged`]: https://github.com/okonet/lint-staged