Skip to content

Commit

Permalink
update golangci-lint rules; rm redundant revive.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Dec 8, 2023
1 parent 06656fa commit a547b2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 56 deletions.
10 changes: 7 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ linters:
- misspell
- rowserrcheck
- errorlint
- unconvert
- sqlclosecheck
- noctx
linters-settings:
exhaustive:
default-signifies-exhaustive: true
Expand Down Expand Up @@ -40,9 +43,10 @@ linters-settings:
- name: error-return
- name: error-strings
- name: error-naming
- name: exported
- name: if-return
- name: increment-decrement
# - name: var-naming
- name: var-naming
- name: var-declaration
- name: package-comments
- name: range
Expand All @@ -61,14 +65,14 @@ linters-settings:
- name: struct-tag
# - name: string-format
- name: string-of-int
# - name: range-val-address
- name: range-val-address
- name: range-val-in-closure
- name: modifies-value-receiver
- name: modifies-parameter
- name: identical-branches
- name: get-return
# - name: flag-parameter
# - name: early-return
- name: early-return
- name: defer
- name: constant-logical-expr
# - name: confusing-naming
Expand Down
53 changes: 0 additions & 53 deletions revive.toml

This file was deleted.

0 comments on commit a547b2f

Please sign in to comment.