-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix CI Signed-off-by: Dusan Borovcanin <[email protected]> * Add temproary push test Signed-off-by: Dusan Borovcanin <[email protected]> --------- Signed-off-by: Dusan Borovcanin <[email protected]>
- Loading branch information
1 parent
601c359
commit f0745c9
Showing
34 changed files
with
230 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Copyright (c) Abstract Machines | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
run: | ||
timeout: 10m | ||
build-tags: | ||
- "nats" | ||
|
||
issues: | ||
max-issues-per-linter: 100 | ||
max-same-issues: 100 | ||
exclude: | ||
- "string `Usage:\n` has (\\d+) occurrences, make it a constant" | ||
- "string `For example:\n` has (\\d+) occurrences, make it a constant" | ||
exclude-rules: | ||
- path: cli/commands_test.go | ||
linters: | ||
- godot | ||
|
||
linters-settings: | ||
gocritic: | ||
enabled-checks: | ||
- importShadow | ||
- httpNoBody | ||
- paramTypeCombine | ||
- emptyStringTest | ||
- builtinShadow | ||
- exposedSyncMutex | ||
disabled-checks: | ||
- appendAssign | ||
enabled-tags: | ||
- diagnostic | ||
disabled-tags: | ||
- performance | ||
- style | ||
- experimental | ||
- opinionated | ||
misspell: | ||
ignore-words: | ||
- "mosquitto" | ||
stylecheck: | ||
checks: ["-ST1000", "-ST1003", "-ST1020", "-ST1021", "-ST1022"] | ||
goheader: | ||
template: |- | ||
Copyright (c) Abstract Machines | ||
SPDX-License-Identifier: Apache-2.0 | ||
linters: | ||
disable-all: true | ||
enable: | ||
- gocritic | ||
- gosimple | ||
- errcheck | ||
- govet | ||
- unused | ||
- goconst | ||
- godot | ||
- godox | ||
- ineffassign | ||
- misspell | ||
- stylecheck | ||
- whitespace | ||
- gci | ||
- gofmt | ||
- goimports | ||
- loggercheck | ||
- goheader | ||
- asasalint | ||
- asciicheck | ||
- bidichk | ||
- contextcheck | ||
- decorder | ||
- dogsled | ||
- errchkjson | ||
- errname | ||
- ginkgolinter | ||
- gocheckcompilerdirectives | ||
- gofumpt | ||
- goprintffuncname | ||
- importas | ||
- makezero | ||
- mirror | ||
- nakedret | ||
- dupword |
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,3 +1,6 @@ | ||
// Copyright (c) Abstract Machines | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package api | ||
|
||
import ( | ||
|
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,3 +1,6 @@ | ||
// Copyright (c) Abstract Machines | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package api | ||
|
||
import ( | ||
|
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// Copyright (c) Abstract Machines | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package api | ||
|
||
import ( | ||
|
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
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
Oops, something went wrong.