refactor(backend): standardize errors and simplify configuration and test setup
This commit is contained in:
1 parent
1535c19b8c
commit
138666a7bb
92 files changed
+3994
-210
No files matched your search
@@ -111,6 +111,11 @@ linters:
|
||||
- comments
|
||||
- common-false-positives
|
||||
rules:
|
||||
# Error locations use actual Go identifiers, including exported type names.
|
||||
- linters:
|
||||
- staticcheck
|
||||
text: 'ST1005: error strings should not be capitalized'
|
||||
source: '(fmt\.Errorf|errors\.New)\("[A-Z][A-Za-z0-9]*\.[A-Za-z0-9]+ - '
|
||||
- path: _test\.go
|
||||
linters:
|
||||
- gocyclo
|
||||
|
||||
Reference in new issue
Block a user