summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-09-07 23:31:28 +0200
committerAhmed AbdelHalim <[email protected]>2025-09-07 23:31:28 +0200
commit53785e809902d5b304e6afea8a493f48f409b234 (patch)
tree3f0b94ee0d614b612553e35877c7122d62cc4de6
parentb3afec6c0ff240c8ad93c34e713be98d25d535eb (diff)
Remove unneded golangci configurations
-rw-r--r--.golangci.yaml31
1 files changed, 0 insertions, 31 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
index 68de2c5..9edac9c 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -17,11 +17,7 @@ linters:
checks:
- all
- '-ST1000' # disable the rule SA1000 pkg comment
- - '-ST1003' # disable the rule SA1003 ALL_CAPS VARS
- - '-ST1005' # disable the rule SA1005 error strings should not be capitalized
- '-ST1020' # Exported methods comment style
- - '-ST1021' # Exported methods comment style
- - '-ST1022' # Exported methods comment style
revive:
confidence: 0.8
severity: warning
@@ -64,36 +60,9 @@ linters:
disabled: true
- name: exported
disabled: true
- exclusions:
- generated: lax
- rules:
- - linters:
- - line-length-limit
- - revive
- path: _test\.go
- - linters:
- - revive
- text: 'unused-parameter: parameter \S+ seems to be unused, consider removing or renaming it as _'
- - linters:
- - revive
- text: 'empty-block: this block is empty, you can remove it'
- - linters:
- - errcheck
- path: _test\.go
- text: Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Unset|Set)?env)|afero.WriteFile. is not checked
- paths:
- - third_party$
- - builtin$
- - examples$
issues:
max-issues-per-linter: 0
max-same-issues: 0
formatters:
enable:
- gofumpt
- exclusions:
- generated: lax
- paths:
- - third_party$
- - builtin$
- - examples$