Problem:
s_string uses --mode=ccpp (C/C++ comment parser) for all files including .yml. .yml uses # comments, not /* */ or //, so comment typos in .yml files are not caught. This is also a problem if we decide to spell check more files e.g. python files or markdown files.
Context:
WT-17032 highlighted odd behaviour where two .yml files of identical content but different ordering flagged the spell checker. This is not intended behaviour.
Definition of Done:
- s_string uses the correct aspell mode based on the file extension
- New file types can be added easily
- New whitelist words surfaced by correct YAML checking are added to s_string.ok
- related to
-
WT-16986 Add python tests to s_string spell check
-
- Closed
-