mirror of https://github.com/0xERR0R/blocky.git
style(config): add `config/migration` to `dot-import` allow-list
This commit is contained in:
parent
02cf4903f3
commit
23359d1471
|
@ -96,7 +96,12 @@ linters-settings:
|
|||
dot-import-whitelist:
|
||||
- "github.com/onsi/ginkgo"
|
||||
- "github.com/onsi/gomega"
|
||||
- "github.com/0xERR0R/blocky/config/migration"
|
||||
- "github.com/0xERR0R/blocky/helpertest"
|
||||
revive:
|
||||
rules:
|
||||
- name: dot-imports
|
||||
disabled: true # prefer stylecheck since it's more configurable
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
. "github.com/0xERR0R/blocky/config/migration" //nolint:revive,stylecheck
|
||||
. "github.com/0xERR0R/blocky/config/migration"
|
||||
"github.com/0xERR0R/blocky/log"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
"github.com/miekg/dns"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
. "github.com/0xERR0R/blocky/config/migration" //nolint:revive,stylecheck
|
||||
. "github.com/0xERR0R/blocky/config/migration"
|
||||
"github.com/0xERR0R/blocky/log"
|
||||
"github.com/0xERR0R/blocky/util"
|
||||
"github.com/creasty/defaults"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
. "github.com/0xERR0R/blocky/config/migration" //nolint:revive,stylecheck
|
||||
. "github.com/0xERR0R/blocky/config/migration"
|
||||
"github.com/0xERR0R/blocky/log"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue