Skip to content

Improve formatting and linting rules and tools #339

Improve formatting and linting rules and tools

Improve formatting and linting rules and tools #339

Triggered via pull request April 13, 2024 16:57
@ptzianosptzianos
synchronize #133
Status Success
Total duration 3m 26s
Artifacts

lint.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Lint: components/producers/dependency-track/main.go#L74
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit.go#L130
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/main.go#L29
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmfullaudit/npmfullaudit_test.go#L19
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmfullaudit/npmfullaudit_test.go#L32
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit_test.go#L20
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit_test.go#L33
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.