-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NO-JIRA: Adding lint configuration (#935)
- Loading branch information
1 parent
067a152
commit 0f32e76
Showing
4 changed files
with
37 additions
and
13 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
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
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,24 @@ | ||
linters: | ||
enable: | ||
- gosec | ||
- godot | ||
- misspell | ||
- stylecheck | ||
|
||
linters-settings: | ||
stylecheck: | ||
# Select the Go version to target. The default is '1.13'. | ||
go: "1.18" | ||
checks: ["all","ST1*"] | ||
|
||
issues: | ||
exclude-use-default: false | ||
|
||
output: | ||
format: colored-line-number | ||
|
||
# print lines of code with issue, default is true | ||
print-issued-lines: false | ||
|
||
# print linter name in the end of issue text, default is true | ||
print-linter-name: true |