linters: enable-all: true disable: - golint - scopelint - maligned - interfacer - wsl - forbidigo - nlreturn - testpackage - ifshort - exhaustivestruct - gci # not working, shows errors on freshly formatted file - varnamelen - lll linters-settings: errcheck: exclude-functions: - io/ioutil.ReadFile - io.Copy(*bytes.Buffer) - (*github.com/gin-gonic/gin.Context).AbortWithError - (*github.com/gin-gonic/gin.Context).AbortWithError - io.Copy(os.Stdout) varnamelen: ignore-decls: - c *gin.Context wrapcheck: ignoreSigs: - .JSON( - .Redirect( - .String( - .Errorf( - errors.New( - errors.Unwrap( - .Wrap( - .Wrapf( - .WithMessage( - .WithMessagef( - .WithStack( ignorePackageGlobs: - git.javil.eu/jacob1123/budgeteer/postgres