spelling icon indicating copy to clipboard operation
spelling copied to clipboard

Exclude specific files from spell check similar to a `.gitignore` file

Open stufield opened this issue 2 years ago • 1 comments

Similar to the white listed WORDLIST file, but exclude an entire file, similar to a .gitignore or .lintr. The use case I have is a single foo.Rd file has 100s of failing words (gene sequence definitions) that are valid in that context, but I do not want to bloat the WORDLIST with these idiosyncratic, highly specific set of words that are unique to foo.Rd.

Function use cases:

spelling::spell_check_package()
spelling::spell_check_files()

Best case scenario is this is already possible and I've simply missed it. Thx!

stufield avatar Feb 12 '22 00:02 stufield

By default, it should ignore everything ignored by .Rbuildignore in particular, backup files '*~'.

MLopez-Ibanez avatar Nov 27 '23 11:11 MLopez-Ibanez