feat: add linter dupword #3192
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements.
Pull Request Description
The Linter Tests Inside Golangci-lint
There are two reasons: First, the repetitive 'the' 'a' 'and' is not grammatically valid, and there is no false positive problem. Second, I find that repeating these words is more common.
I prefer this tool to use the
I have release dupword v0.0.6 to support detection arbitrary duplicate words and make it default, but add my advice in README.md.
As far as I can see, detecting arbitrary duplicate words instead of specifying a list does detect a lot of unexpected errors (see Abirdcfly/dupword#4, like
Windows test fail, I guess it is flake？