You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: gochecknoglobals.go
    path of file: ./repos/golangci-lint/pkg/golinters
    
    the code of the file until where you have to start completion: package golinters

import (
	"4d63.com/gochecknoglobals/checknoglobals"
	"golang.org/x/tools/go/analysis"

	"github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
)

func NewGochecknoglobals() *goanalysis.Linter {
	a := checknoglobals.Analyzer()

	// gochecknoglobals only lints test files if the `-t` flag is passed,
	// so we pass the `t` flag as true to the analy
    
func NewGochecknoglobals() *goanalysis.Linter {
	a := checknoglobals.Analyzer()

	// gochecknoglobals only lints test files if the `-t` flag is passed,
	// so we pass the `t` flag as true to the analyzer before running it.
	// This can be turned off by using the regular golangci-lint flags such as `--tests` or `--skip-files`.
	linterConfig := map[string]map[string]any{
		a.Name: {"t": true},
	}

	return goanalysis.NewLinter(
		a.Name,
		a.Doc,
		[]*analysis.Analyzer{a},
		linterConfig,
	).WithLoadMode(goanalysis.LoadModeTypesInfo)
}