Process improvements (#1316) · github/github-mcp-server@bd12537 · GitHub
Skip to content

Commit bd12537

Browse files
authored
Process improvements (#1316)
* Add default linters and bump golangci-lint version * More aggressive policy
1 parent ff98fc4 commit bd12537

4 files changed

Lines changed: 11 additions & 6 deletions

File tree

‎.github/workflows/close-inactive-issues.yml‎

Lines changed: 4 additions & 4 deletions

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: golangci-lint
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.1
23+
version: v2.5

‎.golangci.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ linters:
1111
- misspell
1212
- nakedret
1313
- revive
14+
- errcheck
15+
- staticcheck
16+
- govet
17+
- ineffassign
18+
- unused
1419
exclusions:
1520
generated: lax
1621
presets:

‎script/lint‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)