From e3d77cf2a3cefdc0b6781c32ca3b878568a5856b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 4 Jun 2020 22:20:22 +0200 Subject: .golangci.yml: enable godot checker A good one. Lots of fixed comments are contributed by episodic contributors. So it's good to catch these earlier. --- pkg/ast/ast.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/ast') diff --git a/pkg/ast/ast.go b/pkg/ast/ast.go index 8cd7bef6e..60b984134 100644 --- a/pkg/ast/ast.go +++ b/pkg/ast/ast.go @@ -27,7 +27,7 @@ type Node interface { walk(cb func(Node)) } -// Top-level AST nodes: +// Top-level AST nodes. type NewLine struct { Pos Pos @@ -150,7 +150,7 @@ func (n *TypeDef) Info() (Pos, string, string) { return n.Pos, "type", n.Name.Name } -// Not top-level AST nodes: +// Not top-level AST nodes. type Ident struct { Pos Pos -- cgit mrf-deployment