mirror of
https://github.com/portainer/portainer.git
synced 2025-07-18 21:09:40 +02:00
chore(linting): configure go linter EE-4871 (#8288)
This commit is contained in:
parent
6769326c8b
commit
73db588080
3 changed files with 27 additions and 2 deletions
|
@ -2,4 +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',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue