mirror of
https://github.com/portainer/portainer.git
synced 2025-07-18 21:09:40 +02:00
fix golang ci linter prehook (#8359)
This commit is contained in:
parent
fed3d14adf
commit
adf92ce5e0
2 changed files with 12 additions and 1 deletions
|
@ -2,5 +2,5 @@ module.exports = {
|
|||
'*.(js|ts){,x}': 'eslint --cache --fix',
|
||||
'*.(ts){,x}': () => 'tsc --noEmit',
|
||||
'*.{js,ts,tsx,css,md,html,json}': 'prettier --write',
|
||||
'*.go': 'golangci-lint run -c api/.golangci.yaml',
|
||||
'*.go': 'bash golangci-lint.sh',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue