1
0
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:
源文雨
2025-04-23 18:06:41 +09:00
parent 9f8f327c74
commit cdf62778d7
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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