feat: format openim make lint code (#1997)

This commit is contained in:
Xinwei Xiong
2024-03-04 21:32:07 +08:00
committed by GitHub
parent 88bcabee1c
commit 33a61f29f2
91 changed files with 221 additions and 376 deletions
+15 -1
View File
@@ -118,7 +118,6 @@ linters-settings:
right-to-left-isolate: true
first-strong-isolate: true
pop-directional-isolate: true
dogsled:
# checks assignments with too many blank identifiers; default is 2
max-blank-identifiers: 2
dupl:
@@ -729,6 +728,21 @@ linters:
- gofmt # Format check
- govet # Go's standard linting tool
- gosimple # Suggestions for simplifying code
- errcheck
- decorder
- sloglint
- ineffassign
- revive
- reassign
- tparallel
- unconvert
- dupl
- dupword
- errname
- gci
- goheader
- goprintffuncname
- gosec
- misspell # Spelling mistakes
- staticcheck # Static analysis
- unused # Checks for unused code