forked from TrueCloudLab/frostfs-node
[#608] pre-commit: Fix linter
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
88b6755c5e
commit
bc425b5bad
2 changed files with 7 additions and 4 deletions
|
@ -40,7 +40,7 @@ linters-settings:
|
||||||
custom:
|
custom:
|
||||||
noliteral:
|
noliteral:
|
||||||
path: bin/external_linters.so
|
path: bin/external_linters.so
|
||||||
original-url: git.frostfs.info/TrueCloudLab/linters.git
|
original-url: git.frostfs.info/TrueCloudLab/linters.git
|
||||||
settings:
|
settings:
|
||||||
target-methods : ["reportFlushError", "reportError"]
|
target-methods : ["reportFlushError", "reportError"]
|
||||||
disable-packages: ["codes", "err", "res","exec"]
|
disable-packages: ["codes", "err", "res","exec"]
|
||||||
|
|
|
@ -30,10 +30,13 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
|
|
||||||
- repo: https://github.com/golangci/golangci-lint
|
- repo: local
|
||||||
rev: v1.52.2
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: golangci-lint
|
- id: make-lint
|
||||||
|
name: Run Make Lint
|
||||||
|
entry: make lint
|
||||||
|
language: system
|
||||||
|
pass_filenames: false
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in a new issue