mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-01-16 12:24:31 +07:00
feat: support Module Plugin System (#1306)
This commit is contained in:
committed by
GitHub
parent
a66d26a465
commit
043b1b8d1c
22
sample-plugins/sample.go
Normal file
22
sample-plugins/sample.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// Package sample is used as test input for golangci action.
|
||||
package sample
|
||||
|
||||
// comment without a to do
|
||||
func SomeFunc1() {
|
||||
_ = 1 + 1
|
||||
}
|
||||
|
||||
// TODO: do something // want "TODO comment has no author"
|
||||
func SomeFunc2() {
|
||||
_ = 1 + 2
|
||||
}
|
||||
|
||||
// TODO(): do something // want "TODO comment has no author"
|
||||
func SomeFunc3() {
|
||||
_ = 1 + 3
|
||||
}
|
||||
|
||||
// TODO(dbraley): Do something with the value
|
||||
func SomeFunc4() {
|
||||
_ = 1 + 4
|
||||
}
|
||||
Reference in New Issue
Block a user