I’ve made a PR that got merged into Yaspeller repository which adds support for pre-commit to spell check your files.

It requires simple configuration, just add this snippet to your .pre-commit-config.yaml:

1
2
3
4
5
- repo: https://github.com/hcodes/yaspeller.git
  rev: master
  hooks:
    - id: yaspeller
      files: "\\.en\\.md"

The plugin will then initialize and spell check your files via yaspeller. It will use the standard .yaspeller.json file for dictionary and settings and automate it for each new commit you work on.

Important

If you were checking this information, note that I’ve made and get merged a PR to yaspeller so that we now use directly their repository. The snippet above was updated to reflect my current settings on this site (and only check articles in English).

Hope you like it!

Like this post? Share on: TwitterFacebookEmail


Pablo Iranzo Gómez Avatar Pablo Iranzo Gómez opensource enthusiast and Lego fan doing some python simple programs like @redken_bot in telegram, etc
Comments

comments powered by Disqus

Keep Reading


Published

Category

tech

Tags

Stay in Touch