Skip to content

Commit

Permalink
Merge 4871b40 into 95ea551
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawaha authored Oct 6, 2020
2 parents 95ea551 + 4871b40 commit 3dcab98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: reviewdog
name: reviewdog with golangci-lint

on: [pull_request]

jobs:
# NOTE: golangci-lint doesn't report multiple errors on the same line from
# different linters and just report one of the errors?
Expand Down
1 change: 1 addition & 0 deletions tokenizer/lattice/lattice.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func (la *Lattice) addNode(pos, id, position, start int, class NodeClass, surfac
}

// Build builds a lattice from the inputs.
// nolint: gocyclo
func (la *Lattice) Build(inp string) {
rc := utf8.RuneCountInString(inp)
la.Input = inp
Expand Down

0 comments on commit 3dcab98

Please sign in to comment.