multi: rename nolint:lll to nolint:ll

Find and replace all nolint instances refering to the `lll` linter and
replace with `ll` which is the name of our custom version of the `lll`
linter which can be used to ignore log lines during linting.

The next commit will do the configuration of the custom linter and
disable the default one.
This commit is contained in:
Elle Mouton
2024-11-29 11:16:13 +02:00
parent 88f5369066
commit ab7aae0708
123 changed files with 286 additions and 286 deletions

View File

@@ -21,7 +21,7 @@ const (
// SqliteConfig holds all the config arguments needed to interact with our
// sqlite DB.
//
//nolint:lll
//nolint:ll
type SqliteConfig struct {
Timeout time.Duration `long:"timeout" description:"The time after which a database query should be timed out."`
BusyTimeout time.Duration `long:"busytimeout" description:"The maximum amount of time to wait for a database connection to become available for a query."`
@@ -32,7 +32,7 @@ type SqliteConfig struct {
// PostgresConfig holds the postgres database configuration.
//
//nolint:lll
//nolint:ll
type PostgresConfig struct {
Dsn string `long:"dsn" description:"Database connection string."`
Timeout time.Duration `long:"timeout" description:"Database connection timeout. Set to zero to disable."`