prysm-pulse/tools/analyzers
Justin Traglia 4c916403e9
Enable dupword linter & fix findings (#12271)
* Enable dupword linter & fix findings

* Correct an incorrect fix

* Add nolint comment

* Add another nolint comment

* Revert unintended change to bazel version

---------

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-04-18 22:01:27 +00:00
..
comparesame Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
cryptorand Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
errcheck Enable dupword linter & fix findings (#12271) 2023-04-18 22:01:27 +00:00
featureconfig Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
gocognit Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
ineffassign Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
interfacechecker Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
logruswitherror Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
maligned Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
nop Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
properpermissions Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
recursivelock Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
shadowpredecl Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
slicedirect Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
uintcast Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
README.md Fix failing static analyzer tests (#7363) 2020-09-29 11:29:40 +00:00

Running analyzer unit tests

Analyzers' unit tests are ignored in bazel's build files, and therefore are not being triggered as part of the CI pipeline. Because of this they should be invoked manually when writing a new analyzer or making changes to an existing one. Otherwise, any issues will go unnoticed during the CI build.

The easiest way to run all unit tests for all analyzers is go test ./tools/analyzers/...