Add Stutter linter

This also adds a bunch of nolints for the node package which
has a ton of stuttering. Perhaps something to mitigate in another
iteration.
This commit is contained in:
Sargun Dhillon
2020-12-07 01:43:38 -08:00
parent d29adf5ce3
commit 0d1f6f1625
3 changed files with 5 additions and 8 deletions

View File

@@ -22,6 +22,3 @@ issues:
exclude:
# EXC0001 errcheck: Almost all programs ignore errors on these functions and in most cases it's ok
- Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*print(f|ln)?|os\.(Un)?Setenv). is not checked
# EXC0003 golint: False positive when tests are defined in package 'test'
- func name will be used as test\.Test.* by other packages, and that stutters; consider calling this