Skip to content

Commit

Permalink
Resolve imports style
Browse files Browse the repository at this point in the history
  • Loading branch information
JuozasVainauskas committed Jan 2, 2022
1 parent 8ff1e0b commit bcc148c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion checkers/checkers.go
Expand Up @@ -2,8 +2,9 @@
package checkers

import (
"github.com/go-critic/go-critic/framework/linter"
"os"

"github.com/go-critic/go-critic/framework/linter"
)

var collection = &linter.CheckerCollection{
Expand Down
7 changes: 4 additions & 3 deletions checkers/embedded_rules.go
Expand Up @@ -2,13 +2,14 @@ package checkers

import (
"fmt"
"github.com/go-critic/go-critic/checkers/rulesdata"
"github.com/go-critic/go-critic/framework/linter"
"github.com/quasilyte/go-ruleguard/ruleguard"
"go/ast"
"go/build"
"go/token"
"os"

"github.com/go-critic/go-critic/checkers/rulesdata"
"github.com/go-critic/go-critic/framework/linter"
"github.com/quasilyte/go-ruleguard/ruleguard"
)

//go:generate go run ./rules/precompile.go -rules ./rules/rules.go -o ./rulesdata/rulesdata.go
Expand Down

0 comments on commit bcc148c

Please sign in to comment.