1.0.2 • Published 4 years ago

yaspeller-ci v1.0.2

Weekly downloads
123
License
MIT
Repository
github
Last release
4 years ago

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.

Usage

Install yaspeller-ci:

npm install yaspeller-ci --save-dev

And add it to npm scripts:

  "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:

  "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.

{
  "lang": "en",
  "dictionary": [
    "yaspeller",
    "Travis"
  ]
}

Full list of options could be found in yaspeller docs.

Extra

We recommend to combine Yaspeller CI with lint-staged:

  "lint-staged": {
    "*.md": "yaspeller-ci"
  }
1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago