fix linter config

This commit is contained in:
Adem Baccara
2025-08-26 18:50:06 +01:00
parent 1120b812b3
commit a73e7290b0
3 changed files with 1 additions and 22 deletions
-10
View File
@@ -15,14 +15,6 @@ issues:
- lll
# exclude some linters for the test directory and test files
- path: test/.*|.*_test\.go
linters:
- dupl
- errcheck
- goconst
- gocyclo
- gosec
linters:
disable-all: true
@@ -76,8 +68,6 @@ linters-settings:
- whyNoLint
- hugeParam
goimports:
local-prefixes: github.com/kubeflow/notebooks/workspaces/backend
goheader:
template: |-
@@ -107,7 +107,7 @@ func (m *metadataManager) updateServer(server domain.Server) error {
func (m *metadataManager) deleteServer(alias string) error {
metadata, err := m.loadAll()
if err != nil {
return nil // Nothing to delete if we can't load
return nil
}
delete(metadata, alias)
-11
View File
@@ -1,11 +0,0 @@
{
"lissene": {
"tags": [
"test"
],
"last_seen": "2025-08-18T15:16:55+01:00"
},
"smeet1": {
"last_seen": "0001-01-01T00:00:00Z"
}
}