Skip to content

Commit 8b6caac

Browse files
authored
Use standard linters (#168)
1 parent d4f14e9 commit 8b6caac

File tree

2 files changed

+33
-5
lines changed

2 files changed

+33
-5
lines changed

.golangci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
run:
2+
skip-dirs:
3+
- .*/mocks
4+
5+
issues:
6+
# https://github.com/golangci/golangci-lint/issues/2439
7+
exclude-use-default: false
8+
9+
linters:
10+
enable:
11+
- errcheck
12+
- gosimple
13+
- govet
14+
- ineffassign
15+
- staticcheck
16+
- typecheck
17+
- unused
18+
- revive
19+
20+
linters-settings:
21+
revive:
22+
severity: error
23+
rules:
24+
- name: exported
25+
arguments:
26+
- checkPrivateReceivers

bitrise.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
format_version: "11"
22
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
33

4-
54
workflows:
65
test:
76
steps:
8-
- go-list:
9-
- golint:
10-
- errcheck:
11-
- go-test:
7+
- git::https://github.com/bitrise-steplib/steps-check.git:
8+
title: Lint
9+
inputs:
10+
- workflow: lint
11+
- skip_step_yml_validation: "yes"
12+
- go-list: { }
13+
- go-test: { }

0 commit comments

Comments
 (0)