I think that the right place to put something like that is under a new target, as this is likely to produce a ton of chaff. People can then make spell checking mandatory by adding to their Makefile as follows:
lint:: spellcheck
This is a general pattern I'm considering for lints. I want to pull in the column-length checks that we use in QUIC in a similar way. I'm certain that most people won't want those, but they are generally useful as a discretionary feature.
Took a look at this and while codespell is fairly simple, languagetool installation requirements are... epic. This means standing up services or something like that.
@larseggert shared this neat hack:
I think that the right place to put something like that is under a new target, as this is likely to produce a ton of chaff. People can then make spell checking mandatory by adding to their Makefile as follows:
This is a general pattern I'm considering for lints. I want to pull in the column-length checks that we use in QUIC in a similar way. I'm certain that most people won't want those, but they are generally useful as a discretionary feature.