mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-04-29 15:08:51 +00:00
chore: move samples into fixtures (#1321)
This commit is contained in:
parent
aa6fad0ea0
commit
5a9289952f
24 changed files with 8 additions and 8 deletions
22
fixtures/plugins/sample.go
Normal file
22
fixtures/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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue