Updated Packages & versions (#3525)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2025-04-03 01:29:17 -06:00
committed by GitHub
parent 6499469487
commit f5ad4defc9
6 changed files with 144 additions and 59 deletions

3
.gitignore vendored
View File

@@ -48,3 +48,6 @@ public.crt
*.code-workspace
*~
.eslintcache
# Ignore Bin files
bin/

55
.golangci.bck.yml Normal file
View File

@@ -0,0 +1,55 @@
linters-settings:
misspell:
locale: US
testifylint:
disable:
- go-require
staticcheck:
checks:
[
"all",
"-ST1005",
"-ST1000",
"-SA4000",
"-SA9004",
"-SA1019",
"-SA1008",
"-U1000",
"-ST1016",
]
goheader:
values:
regexp:
copyright-holder: Copyright \(c\) (20\d\d\-20\d\d)|2021|({{year}})
template-path: .license.tmpl
linters:
disable-all: true
enable:
- goimports
- misspell
- govet
- revive
- ineffassign
- gosimple
- gomodguard
- gofmt
- unused
- staticcheck
- unconvert
- gocritic
- gofumpt
- durationcheck
issues:
exclude-use-default: false
exclude:
- should have a package comment
# TODO(y4m4): Remove once all exported ident. have comments!
- comment on exported function
- comment on exported type
- should have comment
- use leading k in Go names
- comment on exported const
exclude-dirs:
- api/operations

View File

@@ -1,46 +1,73 @@
linters-settings:
golint:
min-confidence: 0
misspell:
locale: US
version: "2"
linters:
default: none
enable:
- durationcheck
- gocritic
- gomodguard
- govet
- ineffassign
- misspell
- revive
- staticcheck
- unconvert
- unused
settings:
goheader:
values:
regexp:
copyright-holder: Copyright \(c\) (20\d\d\-20\d\d)|2021|({{year}})
template-path: .license.tmpl
linters:
disable-all: true
enable:
- goimports
- misspell
- govet
- revive
- ineffassign
- gosimple
- gomodguard
- gofmt
- unused
- staticcheck
- unconvert
- gocritic
- gofumpt
- durationcheck
service:
golangci-lint-version: 1.43.0 # use the fixed version to not introduce new linters unexpectedly
issues:
exclude-use-default: false
exclude:
- should have a package comment
# TODO(y4m4): Remove once all exported ident. have comments!
- comment on exported function
- comment on exported type
- should have comment
- use leading k in Go names
- comment on exported const
exclude-dirs:
misspell:
locale: US
staticcheck:
checks:
- all
- -QF1001
- -QF1008
- -QF1010
- -QF1012
- -SA1008
- -SA1019
- -SA4000
- -SA9004
- -ST1000
- -ST1005
- -ST1016
- -ST1019
- -U1000
testifylint:
disable:
- go-require
exclusions:
generated: lax
rules:
- path: (.+)\.go$
text: should have a package comment
- path: (.+)\.go$
text: comment on exported function
- path: (.+)\.go$
text: comment on exported type
- path: (.+)\.go$
text: should have comment
- path: (.+)\.go$
text: use leading k in Go names
- path: (.+)\.go$
text: comment on exported const
paths:
- api/operations
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- gofumpt
- goimports
exclusions:
generated: lax
paths:
- api/operations
- third_party$
- builtin$
- examples$

View File

@@ -406,7 +406,7 @@ func applyDynamicConfigForSubSys(ctx context.Context, transport *http.Transport,
err = UpdateAuditWebhookTargets(loggerCfg)
if err != nil {
LogIf(ctx, fmt.Errorf("Unable to update audit webhook targets: %w", err))
LogIf(ctx, fmt.Errorf("unable to update audit webhook targets: %w", err))
return err
}
}

View File

@@ -12,7 +12,7 @@
"local-storage-fallback": "^4.1.3",
"lodash": "^4.17.21",
"luxon": "^3.5.0",
"mds": "https://github.com/minio/mds.git#v1.1.1",
"mds": "https://github.com/minio/mds.git#v1.1.2",
"react": "^18.3.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.3.1",

View File

@@ -2924,32 +2924,32 @@ __metadata:
languageName: node
linkType: hard
"@storybook/instrumenter@npm:8.6.0":
version: 8.6.0
resolution: "@storybook/instrumenter@npm:8.6.0"
"@storybook/instrumenter@npm:8.6.12":
version: 8.6.12
resolution: "@storybook/instrumenter@npm:8.6.12"
dependencies:
"@storybook/global": "npm:^5.0.0"
"@vitest/utils": "npm:^2.1.1"
peerDependencies:
storybook: ^8.6.0
checksum: 10c0/755c03a4062f05b66d92555dcf40dce44c1a176bd44ad470d92ce85e40e394b9fb1f1e8642233db945a07ce9fd8a2ff1a636b13d0b482eec21ce6b26b53a1528
storybook: ^8.6.12
checksum: 10c0/4cf02774bd5fb9dbc095a78eb4ee6848928fc7d17bdec7c656bb5ab21382533c8e0c219c1e253d48b652707d10d2566f1d6fc8bd37196acd21ee342522c007d1
languageName: node
linkType: hard
"@storybook/test@npm:^8.6.0":
version: 8.6.0
resolution: "@storybook/test@npm:8.6.0"
"@storybook/test@npm:^8.6.11":
version: 8.6.12
resolution: "@storybook/test@npm:8.6.12"
dependencies:
"@storybook/global": "npm:^5.0.0"
"@storybook/instrumenter": "npm:8.6.0"
"@storybook/instrumenter": "npm:8.6.12"
"@testing-library/dom": "npm:10.4.0"
"@testing-library/jest-dom": "npm:6.5.0"
"@testing-library/user-event": "npm:14.5.2"
"@vitest/expect": "npm:2.0.5"
"@vitest/spy": "npm:2.0.5"
peerDependencies:
storybook: ^8.6.0
checksum: 10c0/95856fb73b13780a046c6fc2b825735d7e2f1a6978a3464d30caa1e7af1fbc8a3f1b3feb2a216a094331ef81af159aca6085050b859e13521d65810d9cb6c88b
storybook: ^8.6.12
checksum: 10c0/3717cc21d840e5900458debe3414b179d088b4973054933d355d6916344cb1857dd02ab8d1ff168f48fb8038f14da99e0a62a7f678e557bdbe3a2c225ce162f3
languageName: node
linkType: hard
@@ -11596,11 +11596,11 @@ __metadata:
languageName: node
linkType: hard
"mds@https://github.com/minio/mds.git#v1.1.1":
version: 1.1.1
resolution: "mds@https://github.com/minio/mds.git#commit=0c686b93327a3b8a7fda6e0ec211c0a32a059b65"
"mds@https://github.com/minio/mds.git#v1.1.2":
version: 1.1.2
resolution: "mds@https://github.com/minio/mds.git#commit=bb587d4e1dc55703a2b3ed6ff9672d503a3c2bee"
dependencies:
"@storybook/test": "npm:^8.6.0"
"@storybook/test": "npm:^8.6.11"
"@types/styled-components": "npm:^5.1.34"
"@uiw/react-textarea-code-editor": "npm:^3.1.0"
detect-gpu: "npm:^5.0.70"
@@ -11608,7 +11608,7 @@ __metadata:
react-calendar: "npm:^5.1.0"
react-virtualized: "npm:^9.22.6"
styled-components: "npm:^5.3.11"
checksum: 10c0/e693c8dd0321f9d77c28ddad5098408c7ed694fe7adf6acb4e7abcab6bfcb4eeba90ce22e9139d5df40adaabd95724601a1a326c5aff2abefbe2284947fdbe99
checksum: 10c0/e121fb56d54a514eb0f079c0065ed3af68107656cf400833c8804a5e21830c6341e57f1fc7203b1f109347814cd08ff787e855e190eafee2cbf3a03dc66a1791
languageName: node
linkType: hard
@@ -17940,7 +17940,7 @@ __metadata:
local-storage-fallback: "npm:^4.1.3"
lodash: "npm:^4.17.21"
luxon: "npm:^3.5.0"
mds: "https://github.com/minio/mds.git#v1.1.1"
mds: "https://github.com/minio/mds.git#v1.1.2"
minio: "npm:^8.0.4"
nyc: "npm:^15.1.0"
prettier: "npm:3.5.1"