chore: Disable funlen linter

This commit is contained in:
James Houlahan
2023-02-03 16:18:25 +01:00
parent d82b71de89
commit 34cd611a8b
22 changed files with 22 additions and 45 deletions

View File

@ -123,8 +123,6 @@ func (bridge *Bridge) closeIMAP(ctx context.Context) error {
}
// addIMAPUser connects the given user to gluon.
//
//nolint:funlen
func (bridge *Bridge) addIMAPUser(ctx context.Context, user *user.User) error {
if bridge.imapServer == nil {
return fmt.Errorf("no imap server instance running")
@ -276,7 +274,6 @@ func ApplyGluonConfigPathSuffix(basePath string) string {
return filepath.Join(basePath, "backend", "db")
}
// nolint:funlen
func newIMAPServer(
gluonCacheDir, gluonConfigDir string,
version *semver.Version,