mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-13 04:13:15 +08:00
chore: make lint happy
This commit is contained in:
4
.github/workflows/pull.yml
vendored
4
.github/workflows/pull.yml
vendored
@@ -14,10 +14,10 @@ jobs:
|
|||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@master
|
uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||||
version: latest
|
version: v1.59.1
|
||||||
|
|
||||||
# Optional: working directory, useful for monorepos
|
# Optional: working directory, useful for monorepos
|
||||||
# working-directory: somedir
|
# working-directory: somedir
|
||||||
|
|||||||
@@ -18,10 +18,11 @@ linters:
|
|||||||
fast: false
|
fast: false
|
||||||
enable:
|
enable:
|
||||||
- bodyclose
|
- bodyclose
|
||||||
|
- copyloopvar
|
||||||
#- depguard
|
#- depguard
|
||||||
- dogsled
|
- dogsled
|
||||||
- errcheck
|
- errcheck
|
||||||
- exportloopref
|
#- exportloopref
|
||||||
- exhaustive
|
- exhaustive
|
||||||
#- funlen
|
#- funlen
|
||||||
#- goconst
|
#- goconst
|
||||||
|
|||||||
Reference in New Issue
Block a user