-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add .golangci.yaml and fix issues (#63)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
- Loading branch information
Engin Diri
authored
Dec 7, 2021
1 parent
2800258
commit 3d4a320
Showing
5 changed files
with
76 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
linters: | ||
enable: | ||
- thelper | ||
- gofumpt | ||
- tparallel | ||
- unconvert | ||
- unparam | ||
- wastedassign | ||
- revive | ||
- forbidigo | ||
- tagliatelle | ||
- typecheck | ||
- goconst | ||
- gocritic | ||
- gocyclo | ||
- govet | ||
- errcheck | ||
- gosec | ||
- goimports | ||
- nolintlint | ||
|
||
linters-settings: | ||
forbidigo: | ||
forbid: | ||
- 'ioutil\.*' | ||
tagliatelle: | ||
case: | ||
use-field-name: false | ||
rules: | ||
yaml: goKebab | ||
json: snake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
package main | ||
|
||
import minecrafexporter "github.com/minecraft-exporter/cmd/minecraft-exporter" | ||
import ( | ||
"github.com/minecraft-exporter/cmd/minecraftExporter" | ||
) | ||
|
||
func main() { | ||
minecrafexporter.Run() | ||
minecraftExporter.Run() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters