2022-07-15 15:32:10 +02:00
//golangcitest:args -Estylecheck,golint --internal-cmd-test
//golangcitest:config_path testdata/configs/default_exclude.yml
2020-11-12 22:21:19 +08:00
/*Package testdata ...*/
package testdata
2022-08-20 18:53:45 +02:00
// InvalidFuncComment, both golint and stylecheck will complain about this, // want stylecheck:`ST1020: comment on exported function ExportedFunc1 should be of the form "ExportedFunc1 ..."`
2020-11-12 22:21:19 +08:00
// if include EXC0011, only the warning from golint will be ignored.
// And only the warning from stylecheck will start with "ST1020".
func ExportedFunc1 ( ) {
}
2022-08-20 18:53:45 +02:00
// InvalidFuncComment // want stylecheck:`ST1020: comment on exported function ExportedFunc2 should be of the form "ExportedFunc2 ..."`
2022-08-01 14:21:04 +02:00
//
//nolint:golint
2020-11-12 22:21:19 +08:00
func ExportedFunc2 ( ) {
}
2022-08-01 14:21:04 +02:00
//nolint:stylecheck
2020-11-12 22:21:19 +08:00
func IgnoreAll ( ) {
}