feat: support Module Plugin System (#1306)

This commit is contained in:
Ludovic Fernandez
2025-11-08 00:39:57 +01:00
committed by GitHub
parent a66d26a465
commit 043b1b8d1c
13 changed files with 20734 additions and 3090 deletions

22
sample-plugins/sample.go Normal file
View 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
}