Skip to content

Commit 155e1d8

Browse files
committed
Version 0.4.0
1 parent e1e1609 commit 155e1d8

File tree

583 files changed

+86143
-21717
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

583 files changed

+86143
-21717
lines changed

.ergo.yml.dist

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
generic:
2+
base-branch: "develop"
3+
status-branches: "develop,staging-develop,master,release-a,release-b"
4+
release-branches: "release-a,release-b"
5+
github:
6+
access-token: "<ACCESS_TOKEN>"
7+
release-body-prefix: "### Added"
8+
release:
9+
branch-map:
10+
release-gr: ":greece:"
11+
release-mx: ":mexico:"
12+
on-deploy:
13+
body-branch-suffix-find: "-No-red.svg"
14+
body-branch-suaffix-replace: "-green.svg"

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# binary
22
ergo
3+
.idea
4+
.DS_Store
5+
ergo-test
6+
cmd/cli/cli

.golangci.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
linters-settings:
2+
govet:
3+
check-shadowing: true
4+
settings:
5+
printf:
6+
funcs:
7+
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
8+
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
9+
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
10+
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
11+
golint:
12+
min-confidence: 0
13+
gocyclo:
14+
min-complexity: 10
15+
maligned:
16+
suggest-new: true
17+
dupl:
18+
threshold: 100
19+
goconst:
20+
min-len: 2
21+
min-occurrences: 2
22+
depguard:
23+
list-type: blacklist
24+
packages:
25+
# logging is allowed only by logutils.Log, logrus
26+
# is allowed to use only in logutils package
27+
- github.com/sirupsen/logrus
28+
misspell:
29+
locale: US
30+
lll:
31+
line-length: 140
32+
goimports:
33+
local-prefixes: github.com/golangci/golangci-lint
34+
gocritic:
35+
enabled-tags:
36+
- performance
37+
- style
38+
- experimental
39+
disabled-checks:
40+
- wrapperFunc
41+
42+
linters:
43+
enable-all: true
44+
disable:
45+
- maligned
46+
- prealloc
47+
- gochecknoglobals
48+
49+
run:
50+
skip-dirs:
51+
- vendor
52+
53+
issues:
54+
exclude-rules:
55+
- path: _test\.go
56+
linters:
57+
- gocyclo
58+
- errcheck
59+
- dupl
60+
- gosec
61+
- goconst
62+
63+
# golangci.com configuration
64+
# https://github.com/golangci/golangci/wiki/Configuration
65+
service:
66+
golangci-lint-version: 1.15.x # use the fixed version to not introduce new linters unexpectedly
67+
prepare:
68+
- echo "here I can run custom commands, but no preparation needed for this repo"

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
language: go
2+
3+
env:
4+
- GO111MODULE=on

0 commit comments

Comments
 (0)