From 0381ae5a1970d69712d698c48da50f95294deb37 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 24 Jun 2023 07:05:36 -0400 Subject: linters: introduce a few linters for catching pathological behavior Signed-off-by: Xe Iaso --- linters/cmd/documentfunctions/documentfunctions.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 linters/cmd/documentfunctions/documentfunctions.go (limited to 'linters/cmd/documentfunctions') diff --git a/linters/cmd/documentfunctions/documentfunctions.go b/linters/cmd/documentfunctions/documentfunctions.go new file mode 100644 index 0000000..684db20 --- /dev/null +++ b/linters/cmd/documentfunctions/documentfunctions.go @@ -0,0 +1,10 @@ +package main + +import ( + "golang.org/x/tools/go/analysis/singlechecker" + "within.website/x/linters/documentfunctions" +) + +func main() { + singlechecker.Main(documentfunctions.Analyzer) +} -- cgit v1.2.3