rojopolis / spellcheck-github-actions

Spell check action
MIT License
138 stars 38 forks source link

Ignore casing issues #44

Closed tomkerkhove closed 3 years ago

tomkerkhove commented 3 years ago

Is it possible to define a word once in the word list, and allow all casings for it?

facelessuser commented 3 years ago

If you are using Aspell, you can use the ignore-case spell checker option: https://facelessuser.github.io/pyspelling/configuration/#spell-checker-options.

You would just specify the boolean:

  aspell:
    ignore-case: true

Basically, such behavior is controlled by the spellchecker. You either specify multiple casings in your word list, or you turn off casing altogether.

Each spell checker has different options and such, so if you are using Huspell, casing is likely configured differently.

tomkerkhove commented 3 years ago

Perfect, thank you - I've missed that one!

jonasbn commented 3 years ago

I have added this as a tip to the newly added Tips section in the documentation, thanks @facelessuser