Skip to content

Commit

Permalink
chore: fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Mar 26, 2024
1 parent df3cd94 commit 8c1d27b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,3 @@ issues:
- linters:
- stylecheck
text: "ST1003:"
- linters:
- staticcheck
- stylecheck
text: "ST1005:"
2 changes: 1 addition & 1 deletion cmd/gen.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package cmd

import (
"errors"
"os"
"os/signal"

env "github.com/Netflix/go-env"
"github.com/go-errors/errors"
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/gen/keys"
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package cmd

import (
"errors"
"fmt"
"net"
"net/url"
Expand All @@ -11,6 +10,7 @@ import (
"time"

"github.com/getsentry/sentry-go"
"github.com/go-errors/errors"
"github.com/mitchellh/mapstructure"
"github.com/spf13/afero"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion internal/bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const (
POSTGRES_URL_NON_POOLING = "POSTGRES_URL_NON_POOLING"
POSTGRES_USER = "POSTGRES_USER"
POSTGRES_HOST = "POSTGRES_HOST"
POSTGRES_PASSWORD = "POSTGRES_PASSWORD"
POSTGRES_PASSWORD = "POSTGRES_PASSWORD" //nolint:gosec
POSTGRES_DATABASE = "POSTGRES_DATABASE"
NEXT_PUBLIC_SUPABASE_ANON_KEY = "NEXT_PUBLIC_SUPABASE_ANON_KEY"
NEXT_PUBLIC_SUPABASE_URL = "NEXT_PUBLIC_SUPABASE_URL"
Expand Down
2 changes: 1 addition & 1 deletion internal/migration/up/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package up

import (
"context"
"errors"
"fmt"
"path/filepath"

"github.com/go-errors/errors"
"github.com/jackc/pgconn"
"github.com/jackc/pgx/v4"
"github.com/spf13/afero"
Expand Down

0 comments on commit 8c1d27b

Please sign in to comment.