This commit is contained in:
silverwind 2024-05-18 01:20:59 +02:00 committed by GitHub
commit b0c734bb00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,8 @@ run:
output:
sort-results: true
sort-order: [file]
show-stats: true
linters-settings:
stylecheck:
@ -40,11 +42,7 @@ linters-settings:
- ifElseChain
- singleCaseSwitch # Every time this occurred in the code, there was no other way.
revive:
ignore-generated-header: false
severity: warning
confidence: 0.8
errorCode: 1
warningCode: 1
severity: error
rules:
- name: atomic
- name: bare-return