diff --git a/cli/main.go b/cli/main.go index 522ccb609..c79398eb7 100644 --- a/cli/main.go +++ b/cli/main.go @@ -8,8 +8,8 @@ import ( "runtime/debug" "strings" - "github.com/deepsourcelabs/revive/config" - "github.com/deepsourcelabs/revive/revivelib" + "github.com/DeepSourceCorp/revive/config" + "github.com/DeepSourceCorp/revive/revivelib" "github.com/fatih/color" "github.com/mitchellh/go-homedir" ) diff --git a/config/config.go b/config/config.go index e9d6d9c12..f95a30b8a 100644 --- a/config/config.go +++ b/config/config.go @@ -5,11 +5,11 @@ import ( "fmt" "io/ioutil" - "github.com/deepsourcelabs/revive/formatter" + "github.com/DeepSourceCorp/revive/formatter" "github.com/BurntSushi/toml" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) var defaultRules = []lint.Rule{ diff --git a/config/config_test.go b/config/config_test.go index cc15f2af6..e4067259a 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestGetConfig(t *testing.T) { diff --git a/formatter/checkstyle.go b/formatter/checkstyle.go index b7a2d6658..bc05d4ce4 100644 --- a/formatter/checkstyle.go +++ b/formatter/checkstyle.go @@ -5,7 +5,7 @@ import ( "encoding/xml" plainTemplate "text/template" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // Checkstyle is an implementation of the Formatter interface diff --git a/formatter/default.go b/formatter/default.go index 8e66a8413..f87b39382 100644 --- a/formatter/default.go +++ b/formatter/default.go @@ -3,7 +3,7 @@ package formatter import ( "fmt" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // Default is an implementation of the Formatter interface diff --git a/formatter/friendly.go b/formatter/friendly.go index 8ee21247f..c05c1025e 100644 --- a/formatter/friendly.go +++ b/formatter/friendly.go @@ -5,7 +5,7 @@ import ( "fmt" "sort" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" "github.com/fatih/color" "github.com/olekukonko/tablewriter" ) diff --git a/formatter/json.go b/formatter/json.go index b6ab2cfa7..e4f9d26b7 100644 --- a/formatter/json.go +++ b/formatter/json.go @@ -3,7 +3,7 @@ package formatter import ( "encoding/json" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // JSON is an implementation of the Formatter interface diff --git a/formatter/ndjson.go b/formatter/ndjson.go index 6e8965b38..29ce6a5de 100644 --- a/formatter/ndjson.go +++ b/formatter/ndjson.go @@ -4,7 +4,7 @@ import ( "encoding/json" "os" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // NDJSON is an implementation of the Formatter interface diff --git a/formatter/plain.go b/formatter/plain.go index 6abfa57b4..ad80e8419 100644 --- a/formatter/plain.go +++ b/formatter/plain.go @@ -3,7 +3,7 @@ package formatter import ( "fmt" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // Plain is an implementation of the Formatter interface diff --git a/formatter/sarif.go b/formatter/sarif.go index f7ec9d54f..9cad91f08 100644 --- a/formatter/sarif.go +++ b/formatter/sarif.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" + "github.com/DeepSourceCorp/revive/lint" "github.com/chavacava/garif" - "github.com/deepsourcelabs/revive/lint" ) // Sarif is an implementation of the Formatter interface diff --git a/formatter/severity.go b/formatter/severity.go index 0f72a44bd..601c9560f 100644 --- a/formatter/severity.go +++ b/formatter/severity.go @@ -1,6 +1,6 @@ package formatter -import "github.com/deepsourcelabs/revive/lint" +import "github.com/DeepSourceCorp/revive/lint" func severity(config lint.Config, failure lint.Failure) lint.Severity { if config, ok := config.Rules[failure.RuleName]; ok && config.Severity == lint.SeverityError { diff --git a/formatter/stylish.go b/formatter/stylish.go index aa09e2caa..3d96e3f17 100644 --- a/formatter/stylish.go +++ b/formatter/stylish.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" "github.com/fatih/color" "github.com/olekukonko/tablewriter" ) diff --git a/formatter/unix.go b/formatter/unix.go index 8f5a1df16..df549bd4f 100644 --- a/formatter/unix.go +++ b/formatter/unix.go @@ -3,12 +3,13 @@ package formatter import ( "fmt" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // Unix is an implementation of the Formatter interface // which formats the errors to a simple line based error format -// main.go:24:9: [errorf] should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) +// +// main.go:24:9: [errorf] should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) type Unix struct { Metadata lint.FormatterMetadata } diff --git a/go.mod b/go.mod index 619d30b95..0fa556bea 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/deepsourcelabs/revive +module github.com/DeepSourceCorp/revive go 1.17 diff --git a/lint/package.go b/lint/package.go index 41ab68b3e..c629c4575 100644 --- a/lint/package.go +++ b/lint/package.go @@ -10,7 +10,7 @@ import ( "golang.org/x/tools/go/gcexportdata" - "github.com/deepsourcelabs/revive/internal/typeparams" + "github.com/DeepSourceCorp/revive/internal/typeparams" ) // Package represents a package in the project. diff --git a/main.go b/main.go index 1196908b1..a3d73c830 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "github.com/deepsourcelabs/revive/cli" +import "github.com/DeepSourceCorp/revive/cli" func main() { cli.RunRevive() diff --git a/revivelib/core.go b/revivelib/core.go index ca83ec652..799f67a12 100644 --- a/revivelib/core.go +++ b/revivelib/core.go @@ -5,9 +5,9 @@ import ( "log" "strings" - "github.com/deepsourcelabs/revive/config" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/logging" + "github.com/DeepSourceCorp/revive/config" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/logging" "github.com/mgechev/dots" "github.com/pkg/errors" ) diff --git a/revivelib/core_internal_test.go b/revivelib/core_internal_test.go index 8f19a2201..53bbfeb2a 100644 --- a/revivelib/core_internal_test.go +++ b/revivelib/core_internal_test.go @@ -3,8 +3,8 @@ package revivelib import ( "testing" - "github.com/deepsourcelabs/revive/config" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/config" + "github.com/DeepSourceCorp/revive/lint" ) func TestReviveCreateInstance(t *testing.T) { diff --git a/revivelib/core_test.go b/revivelib/core_test.go index 71e2f7d48..badd0c9f1 100644 --- a/revivelib/core_test.go +++ b/revivelib/core_test.go @@ -4,9 +4,9 @@ import ( "strings" "testing" - "github.com/deepsourcelabs/revive/config" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/revivelib" + "github.com/DeepSourceCorp/revive/config" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/revivelib" ) func TestReviveLint(t *testing.T) { diff --git a/revivelib/extra_rule.go b/revivelib/extra_rule.go index 4019f1ec2..7a47076f9 100644 --- a/revivelib/extra_rule.go +++ b/revivelib/extra_rule.go @@ -1,6 +1,6 @@ package revivelib -import "github.com/deepsourcelabs/revive/lint" +import "github.com/DeepSourceCorp/revive/lint" // ExtraRule configures a new rule to be used with revive. type ExtraRule struct { diff --git a/rule/add-constant.go b/rule/add-constant.go index 8f05e1fce..3297a508e 100644 --- a/rule/add-constant.go +++ b/rule/add-constant.go @@ -7,7 +7,7 @@ import ( "strings" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) const ( diff --git a/rule/argument-limit.go b/rule/argument-limit.go index 47c0f5e34..2fdb76975 100644 --- a/rule/argument-limit.go +++ b/rule/argument-limit.go @@ -5,7 +5,7 @@ import ( "go/ast" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ArgumentsLimitRule lints given else constructs. diff --git a/rule/atomic.go b/rule/atomic.go index 84ec1384b..a9c0339da 100644 --- a/rule/atomic.go +++ b/rule/atomic.go @@ -5,7 +5,7 @@ import ( "go/token" "go/types" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // AtomicRule lints given else constructs. diff --git a/rule/banned-characters.go b/rule/banned-characters.go index 3b9362544..a722d591a 100644 --- a/rule/banned-characters.go +++ b/rule/banned-characters.go @@ -6,7 +6,7 @@ import ( "strings" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // BannedCharsRule checks if a file contains banned characters. diff --git a/rule/bare-return.go b/rule/bare-return.go index 965cfd6d0..062ce3d72 100644 --- a/rule/bare-return.go +++ b/rule/bare-return.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // BareReturnRule lints given else constructs. diff --git a/rule/blank-imports.go b/rule/blank-imports.go index c861d1208..b5f91a257 100644 --- a/rule/blank-imports.go +++ b/rule/blank-imports.go @@ -4,7 +4,7 @@ import ( "go/ast" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // BlankImportsRule lints given else constructs. diff --git a/rule/bool-literal-in-expr.go b/rule/bool-literal-in-expr.go index 892ad3316..5953c1b2a 100644 --- a/rule/bool-literal-in-expr.go +++ b/rule/bool-literal-in-expr.go @@ -4,7 +4,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // BoolLiteralRule warns when logic expressions contains Boolean literals. diff --git a/rule/call-to-gc.go b/rule/call-to-gc.go index 8c5ab3826..db6f73bc1 100644 --- a/rule/call-to-gc.go +++ b/rule/call-to-gc.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // CallToGCRule lints calls to the garbage collector. diff --git a/rule/cognitive-complexity.go b/rule/cognitive-complexity.go index d19f0a2ea..540dfec6e 100644 --- a/rule/cognitive-complexity.go +++ b/rule/cognitive-complexity.go @@ -6,7 +6,7 @@ import ( "go/token" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" "golang.org/x/tools/go/ast/astutil" ) diff --git a/rule/confusing-naming.go b/rule/confusing-naming.go index 15344e513..bdd5dea2b 100644 --- a/rule/confusing-naming.go +++ b/rule/confusing-naming.go @@ -6,7 +6,7 @@ import ( "strings" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) type referenceMethod struct { diff --git a/rule/confusing-results.go b/rule/confusing-results.go index b175488c8..9fd0a25c1 100644 --- a/rule/confusing-results.go +++ b/rule/confusing-results.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ConfusingResultsRule lints given function declarations diff --git a/rule/constant-logical-expr.go b/rule/constant-logical-expr.go index a29f86dfc..cff3b35a2 100644 --- a/rule/constant-logical-expr.go +++ b/rule/constant-logical-expr.go @@ -4,7 +4,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ConstantLogicalExprRule warns on constant logical expressions. diff --git a/rule/context-as-argument.go b/rule/context-as-argument.go index b8cc157ed..1c35afb45 100644 --- a/rule/context-as-argument.go +++ b/rule/context-as-argument.go @@ -6,7 +6,7 @@ import ( "strings" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ContextAsArgumentRule lints given else constructs. diff --git a/rule/context-keys-type.go b/rule/context-keys-type.go index 87fcc74a1..535c4e794 100644 --- a/rule/context-keys-type.go +++ b/rule/context-keys-type.go @@ -5,7 +5,7 @@ import ( "go/ast" "go/types" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ContextKeysType lints given else constructs. diff --git a/rule/cyclomatic.go b/rule/cyclomatic.go index 0c6741414..ce179a5f1 100644 --- a/rule/cyclomatic.go +++ b/rule/cyclomatic.go @@ -6,7 +6,7 @@ import ( "go/token" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // Based on https://github.com/fzipp/gocyclo diff --git a/rule/datarace.go b/rule/datarace.go index d1822e930..dff67e53d 100644 --- a/rule/datarace.go +++ b/rule/datarace.go @@ -4,7 +4,7 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // DataRaceRule lints assignments to value method-receivers. diff --git a/rule/deep-exit.go b/rule/deep-exit.go index 5ea7fbd73..db4cf1d16 100644 --- a/rule/deep-exit.go +++ b/rule/deep-exit.go @@ -4,7 +4,7 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // DeepExitRule lints program exit at functions other than main or init. diff --git a/rule/defer.go b/rule/defer.go index 432b12bcf..c0b3e37f4 100644 --- a/rule/defer.go +++ b/rule/defer.go @@ -5,7 +5,7 @@ import ( "go/ast" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // DeferRule lints unused params in functions. diff --git a/rule/dot-imports.go b/rule/dot-imports.go index dfe2ebc62..79e37c19b 100644 --- a/rule/dot-imports.go +++ b/rule/dot-imports.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // DotImportsRule lints given else constructs. diff --git a/rule/duplicated-imports.go b/rule/duplicated-imports.go index 6767f829a..3c11ca60f 100644 --- a/rule/duplicated-imports.go +++ b/rule/duplicated-imports.go @@ -3,7 +3,7 @@ package rule import ( "fmt" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // DuplicatedImportsRule lints given else constructs. diff --git a/rule/early-return.go b/rule/early-return.go index c28d4a362..09b00c021 100644 --- a/rule/early-return.go +++ b/rule/early-return.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // EarlyReturnRule lints given else constructs. diff --git a/rule/empty-block.go b/rule/empty-block.go index 42572e298..bf47c48d1 100644 --- a/rule/empty-block.go +++ b/rule/empty-block.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // EmptyBlockRule lints given else constructs. diff --git a/rule/empty-lines.go b/rule/empty-lines.go index 7b7ef749c..1486ceb77 100644 --- a/rule/empty-lines.go +++ b/rule/empty-lines.go @@ -4,7 +4,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // EmptyLinesRule lints empty lines in blocks. diff --git a/rule/error-naming.go b/rule/error-naming.go index 4496b637e..0967c2a23 100644 --- a/rule/error-naming.go +++ b/rule/error-naming.go @@ -6,7 +6,7 @@ import ( "go/token" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ErrorNamingRule lints given else constructs. diff --git a/rule/error-return.go b/rule/error-return.go index 9de592a55..064472768 100644 --- a/rule/error-return.go +++ b/rule/error-return.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ErrorReturnRule lints given else constructs. diff --git a/rule/error-strings.go b/rule/error-strings.go index 3e0e9f4d4..51eaf382a 100644 --- a/rule/error-strings.go +++ b/rule/error-strings.go @@ -9,7 +9,7 @@ import ( "unicode" "unicode/utf8" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ErrorStringsRule lints given else constructs. diff --git a/rule/errorf.go b/rule/errorf.go index 08d4be3e1..fcd2333a6 100644 --- a/rule/errorf.go +++ b/rule/errorf.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ErrorfRule lints given else constructs. diff --git a/rule/exported.go b/rule/exported.go index 6c2b1e878..68a08a702 100644 --- a/rule/exported.go +++ b/rule/exported.go @@ -9,8 +9,8 @@ import ( "unicode" "unicode/utf8" - "github.com/deepsourcelabs/revive/internal/typeparams" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/internal/typeparams" + "github.com/DeepSourceCorp/revive/lint" ) // ExportedRule lints given else constructs. diff --git a/rule/file-header.go b/rule/file-header.go index 2fe40fb9b..a3f810882 100644 --- a/rule/file-header.go +++ b/rule/file-header.go @@ -5,7 +5,7 @@ import ( "regexp" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // FileHeaderRule lints given else constructs. diff --git a/rule/flag-param.go b/rule/flag-param.go index f2b022510..fa2974329 100644 --- a/rule/flag-param.go +++ b/rule/flag-param.go @@ -4,7 +4,7 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // FlagParamRule lints given else constructs. diff --git a/rule/function-length.go b/rule/function-length.go index 0b7a9dc89..1cb44dadd 100644 --- a/rule/function-length.go +++ b/rule/function-length.go @@ -6,7 +6,7 @@ import ( "reflect" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // FunctionLength lint. diff --git a/rule/function-result-limit.go b/rule/function-result-limit.go index e6fef3e00..a5220a990 100644 --- a/rule/function-result-limit.go +++ b/rule/function-result-limit.go @@ -5,7 +5,7 @@ import ( "go/ast" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // FunctionResultsLimitRule lints given else constructs. diff --git a/rule/get-return.go b/rule/get-return.go index a1ac1a424..5a45c342e 100644 --- a/rule/get-return.go +++ b/rule/get-return.go @@ -5,7 +5,7 @@ import ( "go/ast" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // GetReturnRule lints given else constructs. diff --git a/rule/identical-branches.go b/rule/identical-branches.go index 30d98d0a1..54ccb9f58 100644 --- a/rule/identical-branches.go +++ b/rule/identical-branches.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // IdenticalBranchesRule warns on constant logical expressions. diff --git a/rule/if-return.go b/rule/if-return.go index 0eccf23e4..d29eb38a8 100644 --- a/rule/if-return.go +++ b/rule/if-return.go @@ -5,7 +5,7 @@ import ( "go/token" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // IfReturnRule lints given else constructs. diff --git a/rule/import-shadowing.go b/rule/import-shadowing.go index cc8829c43..8f97e3968 100644 --- a/rule/import-shadowing.go +++ b/rule/import-shadowing.go @@ -6,7 +6,7 @@ import ( "go/token" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ImportShadowingRule lints given else constructs. diff --git a/rule/imports-blacklist.go b/rule/imports-blacklist.go index ecf855c40..40adc1f20 100644 --- a/rule/imports-blacklist.go +++ b/rule/imports-blacklist.go @@ -5,7 +5,7 @@ import ( "regexp" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ImportsBlacklistRule lints given else constructs. diff --git a/rule/increment-decrement.go b/rule/increment-decrement.go index ca21c126b..2b764e997 100644 --- a/rule/increment-decrement.go +++ b/rule/increment-decrement.go @@ -5,7 +5,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // IncrementDecrementRule lints given else constructs. diff --git a/rule/indent-error-flow.go b/rule/indent-error-flow.go index d4ae8af8a..5901a6324 100644 --- a/rule/indent-error-flow.go +++ b/rule/indent-error-flow.go @@ -4,7 +4,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // IndentErrorFlowRule lints given else constructs. diff --git a/rule/line-length-limit.go b/rule/line-length-limit.go index eccf66009..307fcd33c 100644 --- a/rule/line-length-limit.go +++ b/rule/line-length-limit.go @@ -9,7 +9,7 @@ import ( "sync" "unicode/utf8" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // LineLengthLimitRule lints given else constructs. diff --git a/rule/max-public-structs.go b/rule/max-public-structs.go index 86bc65c99..23367a516 100644 --- a/rule/max-public-structs.go +++ b/rule/max-public-structs.go @@ -5,7 +5,7 @@ import ( "strings" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // MaxPublicStructsRule lints given else constructs. diff --git a/rule/modifies-param.go b/rule/modifies-param.go index b133a6f13..003a6dfc7 100644 --- a/rule/modifies-param.go +++ b/rule/modifies-param.go @@ -4,7 +4,7 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ModifiesParamRule lints given else constructs. diff --git a/rule/modifies-value-receiver.go b/rule/modifies-value-receiver.go index 242826756..f09879482 100644 --- a/rule/modifies-value-receiver.go +++ b/rule/modifies-value-receiver.go @@ -4,7 +4,7 @@ import ( "go/ast" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // ModifiesValRecRule lints assignments to value method-receivers. diff --git a/rule/nested-structs.go b/rule/nested-structs.go index 61ddea03b..d000426a2 100644 --- a/rule/nested-structs.go +++ b/rule/nested-structs.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // NestedStructs lints nested structs. diff --git a/rule/optimize-operands-order.go b/rule/optimize-operands-order.go index dcd75c7eb..892240887 100644 --- a/rule/optimize-operands-order.go +++ b/rule/optimize-operands-order.go @@ -5,7 +5,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // OptimizeOperandsOrderRule lints given else constructs. diff --git a/rule/package-comments.go b/rule/package-comments.go index 3dd9e9875..576a8b2be 100644 --- a/rule/package-comments.go +++ b/rule/package-comments.go @@ -7,7 +7,7 @@ import ( "strings" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // PackageCommentsRule lints the package comments. It complains if diff --git a/rule/range-val-address.go b/rule/range-val-address.go index 6ba47f653..ac932a619 100644 --- a/rule/range-val-address.go +++ b/rule/range-val-address.go @@ -6,7 +6,7 @@ import ( "go/token" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // RangeValAddress lints diff --git a/rule/range-val-in-closure.go b/rule/range-val-in-closure.go index b40644128..723ce790b 100644 --- a/rule/range-val-in-closure.go +++ b/rule/range-val-in-closure.go @@ -4,7 +4,7 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // RangeValInClosureRule lints given else constructs. diff --git a/rule/range.go b/rule/range.go index 157071767..993c704c6 100644 --- a/rule/range.go +++ b/rule/range.go @@ -5,7 +5,7 @@ import ( "go/ast" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // RangeRule lints given else constructs. diff --git a/rule/receiver-naming.go b/rule/receiver-naming.go index 04200efe6..5385404a9 100644 --- a/rule/receiver-naming.go +++ b/rule/receiver-naming.go @@ -4,8 +4,8 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/internal/typeparams" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/internal/typeparams" + "github.com/DeepSourceCorp/revive/lint" ) // ReceiverNamingRule lints given else constructs. diff --git a/rule/redefines-builtin-id.go b/rule/redefines-builtin-id.go index 701686ddf..597aa32f2 100644 --- a/rule/redefines-builtin-id.go +++ b/rule/redefines-builtin-id.go @@ -5,7 +5,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) var builtInConstAndVars = map[string]bool{ diff --git a/rule/string-format.go b/rule/string-format.go index 21e4374f1..a0e23fad6 100644 --- a/rule/string-format.go +++ b/rule/string-format.go @@ -7,7 +7,7 @@ import ( "regexp" "strconv" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // #region Revive API diff --git a/rule/string-of-int.go b/rule/string-of-int.go index 877f64f4f..86bd84396 100644 --- a/rule/string-of-int.go +++ b/rule/string-of-int.go @@ -4,7 +4,7 @@ import ( "go/ast" "go/types" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // StringOfIntRule warns when logic expressions contains Boolean literals. diff --git a/rule/struct-tag.go b/rule/struct-tag.go index 80106cf4f..5bcd1f523 100644 --- a/rule/struct-tag.go +++ b/rule/struct-tag.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" "github.com/fatih/structtag" ) diff --git a/rule/superfluous-else.go b/rule/superfluous-else.go index 9c6c54519..da7b934a0 100644 --- a/rule/superfluous-else.go +++ b/rule/superfluous-else.go @@ -5,7 +5,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) func findBlockStmtRef(block *ast.BlockStmt, obj *ast.Object) bool { diff --git a/rule/time-equal.go b/rule/time-equal.go index 28fac542f..8b1f3b011 100644 --- a/rule/time-equal.go +++ b/rule/time-equal.go @@ -5,7 +5,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // TimeEqualRule shows where "==" and "!=" used for equality check time.Time diff --git a/rule/time-naming.go b/rule/time-naming.go index 624afcc6b..624602b09 100644 --- a/rule/time-naming.go +++ b/rule/time-naming.go @@ -6,7 +6,7 @@ import ( "go/types" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // TimeNamingRule lints given else constructs. diff --git a/rule/unconditional-recursion.go b/rule/unconditional-recursion.go index bb1b23e98..99e6af923 100644 --- a/rule/unconditional-recursion.go +++ b/rule/unconditional-recursion.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UnconditionalRecursionRule lints given else constructs. diff --git a/rule/unexported-naming.go b/rule/unexported-naming.go index a0aeaba85..46daf8108 100644 --- a/rule/unexported-naming.go +++ b/rule/unexported-naming.go @@ -5,7 +5,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UnexportedNamingRule lints wrongly named unexported symbols. diff --git a/rule/unexported-return.go b/rule/unexported-return.go index 65318da5a..12e4b506e 100644 --- a/rule/unexported-return.go +++ b/rule/unexported-return.go @@ -5,8 +5,8 @@ import ( "go/ast" "go/types" - "github.com/deepsourcelabs/revive/internal/typeparams" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/internal/typeparams" + "github.com/DeepSourceCorp/revive/lint" ) // UnexportedReturnRule lints given else constructs. diff --git a/rule/unhandled-error.go b/rule/unhandled-error.go index 011178a90..b49491559 100644 --- a/rule/unhandled-error.go +++ b/rule/unhandled-error.go @@ -6,7 +6,7 @@ import ( "go/types" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UnhandledErrorRule lints given else constructs. diff --git a/rule/unnecessary-stmt.go b/rule/unnecessary-stmt.go index 07bf0b4c3..c1c7c9bcc 100644 --- a/rule/unnecessary-stmt.go +++ b/rule/unnecessary-stmt.go @@ -4,7 +4,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UnnecessaryStmtRule warns on unnecessary statements. diff --git a/rule/unreachable-code.go b/rule/unreachable-code.go index bec87e980..34d9f5ae3 100644 --- a/rule/unreachable-code.go +++ b/rule/unreachable-code.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UnreachableCodeRule lints unreachable code. diff --git a/rule/unused-param.go b/rule/unused-param.go index d66797cb0..537960dc3 100644 --- a/rule/unused-param.go +++ b/rule/unused-param.go @@ -4,7 +4,7 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UnusedParamRule lints unused params in functions. diff --git a/rule/unused-receiver.go b/rule/unused-receiver.go index aa42e8bec..975287bdc 100644 --- a/rule/unused-receiver.go +++ b/rule/unused-receiver.go @@ -4,7 +4,7 @@ import ( "fmt" "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UnusedReceiverRule lints unused params in functions. diff --git a/rule/use-any.go b/rule/use-any.go index df51897fd..20fa777c1 100644 --- a/rule/use-any.go +++ b/rule/use-any.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UseAnyRule lints given else constructs. diff --git a/rule/useless-break.go b/rule/useless-break.go index 83c739c21..dd72884a5 100644 --- a/rule/useless-break.go +++ b/rule/useless-break.go @@ -4,7 +4,7 @@ import ( "go/ast" "go/token" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // UselessBreak lint rule. diff --git a/rule/utils.go b/rule/utils.go index 844fcadaf..6fd2541c9 100644 --- a/rule/utils.go +++ b/rule/utils.go @@ -10,7 +10,7 @@ import ( "regexp" "strings" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // isBlank returns whether id is the blank identifier "_". diff --git a/rule/var-declarations.go b/rule/var-declarations.go index e449754f0..2fd31957b 100644 --- a/rule/var-declarations.go +++ b/rule/var-declarations.go @@ -6,7 +6,7 @@ import ( "go/token" "go/types" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // VarDeclarationsRule lints given else constructs. diff --git a/rule/var-naming.go b/rule/var-naming.go index d0166a71d..62cfbc85a 100644 --- a/rule/var-naming.go +++ b/rule/var-naming.go @@ -7,7 +7,7 @@ import ( "strings" "sync" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // VarNamingRule lints given else constructs. diff --git a/rule/waitgroup-by-value.go b/rule/waitgroup-by-value.go index c1d1ae203..f8a445c4e 100644 --- a/rule/waitgroup-by-value.go +++ b/rule/waitgroup-by-value.go @@ -3,7 +3,7 @@ package rule import ( "go/ast" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) // WaitGroupByValueRule lints sync.WaitGroup passed by copy in functions. diff --git a/test/add-constant_test.go b/test/add-constant_test.go index 74669f281..1dcd0c0a5 100644 --- a/test/add-constant_test.go +++ b/test/add-constant_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestAddConstant(t *testing.T) { diff --git a/test/argument-limit_test.go b/test/argument-limit_test.go index abd8106e9..d7d3654d3 100644 --- a/test/argument-limit_test.go +++ b/test/argument-limit_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestArgumentLimit(t *testing.T) { diff --git a/test/atomic_test.go b/test/atomic_test.go index 5f974a294..a71a5fae2 100644 --- a/test/atomic_test.go +++ b/test/atomic_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // Atomic rule. diff --git a/test/banned-characters_test.go b/test/banned-characters_test.go index 92d61327c..a53573e69 100644 --- a/test/banned-characters_test.go +++ b/test/banned-characters_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) // Test banned characters in a const, var and func names. diff --git a/test/bare-return_test.go b/test/bare-return_test.go index 5bbad47ff..951d51f87 100644 --- a/test/bare-return_test.go +++ b/test/bare-return_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestBareReturn(t *testing.T) { diff --git a/test/bool-literal-in-expr_test.go b/test/bool-literal-in-expr_test.go index 54b06b71e..ac55d4c10 100644 --- a/test/bool-literal-in-expr_test.go +++ b/test/bool-literal-in-expr_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // BoolLiteral rule. diff --git a/test/call-to-gc_test.go b/test/call-to-gc_test.go index 98225bf32..eae85826c 100644 --- a/test/call-to-gc_test.go +++ b/test/call-to-gc_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestCallToGC test call-to-gc rule diff --git a/test/cognitive-complexity_test.go b/test/cognitive-complexity_test.go index 967d0b071..0706bd0fe 100644 --- a/test/cognitive-complexity_test.go +++ b/test/cognitive-complexity_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestCognitiveComplexity(t *testing.T) { diff --git a/test/confusing-naming_test.go b/test/confusing-naming_test.go index 3acc85c27..3616ebec8 100644 --- a/test/confusing-naming_test.go +++ b/test/confusing-naming_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestConfusingNaming rule. diff --git a/test/confusing-results_test.go b/test/confusing-results_test.go index 8f2f5d3eb..925ef8e21 100644 --- a/test/confusing-results_test.go +++ b/test/confusing-results_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestConfusingResults(t *testing.T) { diff --git a/test/constant-logical-expr_test.go b/test/constant-logical-expr_test.go index 9e1d7c241..bd9015594 100644 --- a/test/constant-logical-expr_test.go +++ b/test/constant-logical-expr_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // ConstantLogicalExpr rule. diff --git a/test/context-as-argument_test.go b/test/context-as-argument_test.go index 63082b7c0..b49df1983 100644 --- a/test/context-as-argument_test.go +++ b/test/context-as-argument_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestContextAsArgument(t *testing.T) { diff --git a/test/cyclomatic_test.go b/test/cyclomatic_test.go index 8cf4eae8f..8e2b37f06 100644 --- a/test/cyclomatic_test.go +++ b/test/cyclomatic_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestCyclomatic(t *testing.T) { diff --git a/test/datarace_test.go b/test/datarace_test.go index ecd1b0894..a494c3139 100644 --- a/test/datarace_test.go +++ b/test/datarace_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestDatarace(t *testing.T) { diff --git a/test/deep-exit_test.go b/test/deep-exit_test.go index f6d1f6646..dffb92a33 100644 --- a/test/deep-exit_test.go +++ b/test/deep-exit_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestDeepExit(t *testing.T) { diff --git a/test/defer_test.go b/test/defer_test.go index 1502f6ce5..ed6811b28 100644 --- a/test/defer_test.go +++ b/test/defer_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) // Defer rule. diff --git a/test/disable-annotations_test.go b/test/disable-annotations_test.go index 6897d83ab..128ca0718 100644 --- a/test/disable-annotations_test.go +++ b/test/disable-annotations_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestDisabledAnnotations(t *testing.T) { diff --git a/test/duplicated-import_test.go b/test/duplicated-import_test.go index 79d366f6c..f9ee36253 100644 --- a/test/duplicated-import_test.go +++ b/test/duplicated-import_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestDuplicatedImports(t *testing.T) { diff --git a/test/early-return_test.go b/test/early-return_test.go index 6090cb60e..9300ba102 100644 --- a/test/early-return_test.go +++ b/test/early-return_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestEarlyReturn tests early-return rule. diff --git a/test/empty-block_test.go b/test/empty-block_test.go index 60b7362a1..083e61585 100644 --- a/test/empty-block_test.go +++ b/test/empty-block_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestEmptyBlock rule. diff --git a/test/empty-lines_test.go b/test/empty-lines_test.go index 76e145f32..e0bc0d33b 100644 --- a/test/empty-lines_test.go +++ b/test/empty-lines_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestEmptyLines rule. diff --git a/test/error-strings-custom-functions_test.go b/test/error-strings-custom-functions_test.go index 30d19af5a..896e877c0 100644 --- a/test/error-strings-custom-functions_test.go +++ b/test/error-strings-custom-functions_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestErrorStringsWithCustomFunctions(t *testing.T) { diff --git a/test/exported_test.go b/test/exported_test.go index d100dc8c6..4db983d44 100644 --- a/test/exported_test.go +++ b/test/exported_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestExportedWithDisableStutteringCheck(t *testing.T) { diff --git a/test/file-header_test.go b/test/file-header_test.go index 0a3d54588..384990751 100644 --- a/test/file-header_test.go +++ b/test/file-header_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestLintFileHeader(t *testing.T) { diff --git a/test/flag-param_test.go b/test/flag-param_test.go index 0aa20a52c..fbac6c971 100644 --- a/test/flag-param_test.go +++ b/test/flag-param_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestFlagParam(t *testing.T) { diff --git a/test/function-length_test.go b/test/function-length_test.go index 0d5258c33..c8918d300 100644 --- a/test/function-length_test.go +++ b/test/function-length_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestFuncLengthLimitsStatements(t *testing.T) { diff --git a/test/function-result-limit_test.go b/test/function-result-limit_test.go index 4abd47ac8..b83ec6393 100644 --- a/test/function-result-limit_test.go +++ b/test/function-result-limit_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestFunctionResultsLimit(t *testing.T) { diff --git a/test/get-return_test.go b/test/get-return_test.go index 4e89b6d2c..bfeeab6e7 100644 --- a/test/get-return_test.go +++ b/test/get-return_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestGetReturn(t *testing.T) { diff --git a/test/golint_test.go b/test/golint_test.go index bda273282..de51a0378 100644 --- a/test/golint_test.go +++ b/test/golint_test.go @@ -7,8 +7,8 @@ import ( "regexp" "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) var lintMatch = flag.String("lint.match", "", "restrict fixtures matches to this pattern") diff --git a/test/identical-branches_test.go b/test/identical-branches_test.go index 942e01766..9c61e2ed4 100644 --- a/test/identical-branches_test.go +++ b/test/identical-branches_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // IdenticalBranches rule. diff --git a/test/if-return_test.go b/test/if-return_test.go index 4597fcb2e..2d4b3be8d 100644 --- a/test/if-return_test.go +++ b/test/if-return_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestIfReturn rule. diff --git a/test/import-blacklist_test.go b/test/import-blacklist_test.go index cdbdb5bde..15841e3ae 100644 --- a/test/import-blacklist_test.go +++ b/test/import-blacklist_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestImportsBlacklistOriginal(t *testing.T) { diff --git a/test/import-shadowing_test.go b/test/import-shadowing_test.go index 1c4b3dd8c..c077f0bfb 100644 --- a/test/import-shadowing_test.go +++ b/test/import-shadowing_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestImportShadowing(t *testing.T) { diff --git a/test/line-length-limit_test.go b/test/line-length-limit_test.go index 29083a471..95e3abab7 100644 --- a/test/line-length-limit_test.go +++ b/test/line-length-limit_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestLineLengthLimit(t *testing.T) { diff --git a/test/max-public-structs_test.go b/test/max-public-structs_test.go index ce92bf3df..55bc624aa 100644 --- a/test/max-public-structs_test.go +++ b/test/max-public-structs_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestMaxPublicStructs(t *testing.T) { diff --git a/test/modifies-param_test.go b/test/modifies-param_test.go index 6fe4669b3..e6bf1f709 100644 --- a/test/modifies-param_test.go +++ b/test/modifies-param_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestModifiesParam rule. diff --git a/test/modifies-value-receiver_test.go b/test/modifies-value-receiver_test.go index 9ebd96f50..b7670edca 100644 --- a/test/modifies-value-receiver_test.go +++ b/test/modifies-value-receiver_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestModifiesValRec(t *testing.T) { diff --git a/test/nested-structs_test.go b/test/nested-structs_test.go index 2d8fffdf8..09e9d36f5 100644 --- a/test/nested-structs_test.go +++ b/test/nested-structs_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestNestedStructs(t *testing.T) { diff --git a/test/optimize-operands-order_test.go b/test/optimize-operands-order_test.go index 785a43147..f562ee97b 100644 --- a/test/optimize-operands-order_test.go +++ b/test/optimize-operands-order_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) // Test that left and right side of Binary operators (only AND, OR) are swapable diff --git a/test/range-val-address_test.go b/test/range-val-address_test.go index 3e8f468e8..2fcb2dbb6 100644 --- a/test/range-val-address_test.go +++ b/test/range-val-address_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestRangeValAddress(t *testing.T) { diff --git a/test/range-val-in-closure_test.go b/test/range-val-in-closure_test.go index b053e1951..7c8b9e8b9 100644 --- a/test/range-val-in-closure_test.go +++ b/test/range-val-in-closure_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestRangeValInClosure(t *testing.T) { diff --git a/test/receiver-naming_test.go b/test/receiver-naming_test.go index f49e607e0..5e7a74c69 100644 --- a/test/receiver-naming_test.go +++ b/test/receiver-naming_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/internal/typeparams" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/internal/typeparams" + "github.com/DeepSourceCorp/revive/rule" ) func TestReceiverNamingTypeParams(t *testing.T) { diff --git a/test/redefines-builtin-id_test.go b/test/redefines-builtin-id_test.go index db89b6228..4b26c7c48 100644 --- a/test/redefines-builtin-id_test.go +++ b/test/redefines-builtin-id_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // Tests RedefinesBuiltinID rule. diff --git a/test/string-format_test.go b/test/string-format_test.go index d833539f4..9eee148eb 100644 --- a/test/string-format_test.go +++ b/test/string-format_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestStringFormat(t *testing.T) { diff --git a/test/string-of-int_test.go b/test/string-of-int_test.go index 6407adb9f..4b6c7ae7e 100644 --- a/test/string-of-int_test.go +++ b/test/string-of-int_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // String-of-int rule. diff --git a/test/struct-tag_test.go b/test/struct-tag_test.go index de60092c8..9302db8ef 100644 --- a/test/struct-tag_test.go +++ b/test/struct-tag_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestStructTag tests struct-tag rule diff --git a/test/superfluous-else_test.go b/test/superfluous-else_test.go index 23369236d..20903de9f 100644 --- a/test/superfluous-else_test.go +++ b/test/superfluous-else_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestSuperfluousElse rule. diff --git a/test/time-equal_test.go b/test/time-equal_test.go index 8dc30b708..98c31110b 100644 --- a/test/time-equal_test.go +++ b/test/time-equal_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestTimeEqual rule. diff --git a/test/time-naming_test.go b/test/time-naming_test.go index b29218eb5..efdc1692a 100644 --- a/test/time-naming_test.go +++ b/test/time-naming_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestTimeNamingRule rule. diff --git a/test/unconditional-recursion_test.go b/test/unconditional-recursion_test.go index ba31ccf6c..94a69943e 100644 --- a/test/unconditional-recursion_test.go +++ b/test/unconditional-recursion_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestUnconditionalRecursion(t *testing.T) { diff --git a/test/unhandled-error_test.go b/test/unhandled-error_test.go index 8e8213be6..979c9194c 100644 --- a/test/unhandled-error_test.go +++ b/test/unhandled-error_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestUnhandledError(t *testing.T) { diff --git a/test/unnecessary-stmt_test.go b/test/unnecessary-stmt_test.go index 450ecec72..ec14acd63 100644 --- a/test/unnecessary-stmt_test.go +++ b/test/unnecessary-stmt_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // TestUnnecessaryStmt rule. diff --git a/test/unreachable-code_test.go b/test/unreachable-code_test.go index 82fee7c40..0602dae51 100644 --- a/test/unreachable-code_test.go +++ b/test/unreachable-code_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestUnreachableCode(t *testing.T) { diff --git a/test/unused-param_test.go b/test/unused-param_test.go index d0dc9ae29..45f8c96da 100644 --- a/test/unused-param_test.go +++ b/test/unused-param_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestUnusedParam(t *testing.T) { diff --git a/test/unused-receiver_test.go b/test/unused-receiver_test.go index 05daeacc8..e6eb6faeb 100644 --- a/test/unused-receiver_test.go +++ b/test/unused-receiver_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestUnusedReceiver(t *testing.T) { diff --git a/test/unxeported-naming_test.go b/test/unxeported-naming_test.go index 6d18286f1..8fc6f2c64 100644 --- a/test/unxeported-naming_test.go +++ b/test/unxeported-naming_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestUnexportednaming(t *testing.T) { diff --git a/test/use-any_test.go b/test/use-any_test.go index ea5ed1509..4ce5488a2 100644 --- a/test/use-any_test.go +++ b/test/use-any_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestUseAny(t *testing.T) { diff --git a/test/useless-break_test.go b/test/useless-break_test.go index 287353e0f..fc1213dbe 100644 --- a/test/useless-break_test.go +++ b/test/useless-break_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) // UselessBreak rule. diff --git a/test/utils.go b/test/utils.go index 20e274df6..424b0652b 100644 --- a/test/utils.go +++ b/test/utils.go @@ -14,7 +14,7 @@ import ( "strings" "testing" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" "github.com/pkg/errors" ) diff --git a/test/var-naming_test.go b/test/var-naming_test.go index 10b110938..729fc2104 100644 --- a/test/var-naming_test.go +++ b/test/var-naming_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/lint" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/lint" + "github.com/DeepSourceCorp/revive/rule" ) func TestVarNaming(t *testing.T) { diff --git a/test/waitgroup-by-value_test.go b/test/waitgroup-by-value_test.go index 8a4ed0344..e1097d489 100644 --- a/test/waitgroup-by-value_test.go +++ b/test/waitgroup-by-value_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/deepsourcelabs/revive/rule" + "github.com/DeepSourceCorp/revive/rule" ) func TestWaitGroupByValue(t *testing.T) { diff --git a/testdata/unused-param.go b/testdata/unused-param.go index bbb42d2c8..bf8d65bbc 100644 --- a/testdata/unused-param.go +++ b/testdata/unused-param.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) func f0(param int) { diff --git a/testdata/unused-receiver.go b/testdata/unused-receiver.go index b38570adb..d966a7e94 100644 --- a/testdata/unused-receiver.go +++ b/testdata/unused-receiver.go @@ -3,7 +3,7 @@ package fixtures import ( "fmt" - "github.com/deepsourcelabs/revive/lint" + "github.com/DeepSourceCorp/revive/lint" ) func (f *Unix) Name() string { // MATCH /method receiver 'f' is not referenced in method's body, consider removing or renaming it as _/