mirror of
https://github.com/grdl/git-get.git
synced 2026-02-13 00:35:13 +00:00
Disable noinlineerr linter and gci formatter
This commit is contained in:
@@ -5,7 +5,6 @@ run:
|
|||||||
|
|
||||||
formatters:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
- gci
|
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
- goimports
|
||||||
|
|
||||||
@@ -19,6 +18,7 @@ linters:
|
|||||||
- gochecknoglobals # It's too strict and doesn't distinguish between "bad" globals (mutable shared state) and "good" globals (immutable configuration)
|
- gochecknoglobals # It's too strict and doesn't distinguish between "bad" globals (mutable shared state) and "good" globals (immutable configuration)
|
||||||
- godox # TODO: enable it and handle all the remaning TODOs
|
- godox # TODO: enable it and handle all the remaning TODOs
|
||||||
- mnd # Impractical. We deal with numbers like file permissions here, it's much clearer to see them explicitly.
|
- mnd # Impractical. We deal with numbers like file permissions here, it's much clearer to see them explicitly.
|
||||||
|
- noinlineerr # Impractical. Inline error handling is a common and idiomatic practice
|
||||||
- paralleltest # Tests are fast already and paralellizing them adds complexity
|
- paralleltest # Tests are fast already and paralellizing them adds complexity
|
||||||
- testpackage # TODO: renable it and refactor tests into separate packages
|
- testpackage # TODO: renable it and refactor tests into separate packages
|
||||||
- unparam # Impractical, it flags functions that are designed to be general-purpose, but happen to only be used with specific values currently
|
- unparam # Impractical, it flags functions that are designed to be general-purpose, but happen to only be used with specific values currently
|
||||||
|
|||||||
Reference in New Issue
Block a user