1
0
Fork 0
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:
Prabhat Khera 2023-01-18 15:20:42 +13:00 committed by GitHub
parent 6769326c8b
commit 73db588080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 2 deletions

View file

@ -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',
};