-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14a5c9a
commit 21cc6ef
Showing
80 changed files
with
1,485 additions
and
1,030 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dist | ||
helpers | ||
vendor | ||
**/*.tgz | ||
/gitlab-ci-pipelines-exporter.yml | ||
|
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,45 @@ | ||
linters: | ||
enable-all: true | ||
disable: | ||
# Deprecated ones | ||
- golint | ||
- interfacer | ||
- maligned | ||
- scopelint | ||
|
||
# We don't want these ones | ||
- exhaustivestruct | ||
- forcetypeassert | ||
- gochecknoglobals | ||
- godox | ||
- goerr113 | ||
- ireturn | ||
- nakedret | ||
- testpackage | ||
- varnamelen | ||
|
||
# TODO | ||
- tagliatelle | ||
- promlinter | ||
- paralleltest | ||
- gocognit | ||
- gomoddirectives | ||
- forbidigo | ||
- goconst | ||
- gomnd | ||
- lll | ||
- dupl | ||
|
||
linters-settings: | ||
funlen: | ||
lines: -1 # (disabled) | ||
statements: 100 | ||
|
||
cyclop: | ||
max-complexity: 20 | ||
|
||
lll: | ||
line-length: 140 | ||
|
||
nestif: | ||
min-complexity: 18 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"time" | ||
|
||
"github.com/mvisonneau/gitlab-ci-pipelines-exporter/internal/cli" | ||
) | ||
|
||
var version = "devel" | ||
|
||
func main() { | ||
fmt.Println(cli.NewApp(version, time.Now()).ToMan()) | ||
} |
Oops, something went wrong.