(feat.) add notification apis phase I #1600
Annotations
8 errors and 4 warnings
lint-server:
deepfence_server/handler/notification.go#L36
S1023: redundant `return` statement (gosimple)
|
lint-server:
deepfence_server/handler/notification.go#L61
S1023: redundant `return` statement (gosimple)
|
lint-server:
deepfence_server/handler/notification.go#L80
S1023: redundant `return` statement (gosimple)
|
lint-server:
deepfence_server/handler/notification.go#L35
ineffectual assignment to err (ineffassign)
|
lint-server:
deepfence_server/handler/notification.go#L60
ineffectual assignment to err (ineffassign)
|
lint-server:
deepfence_server/handler/notification.go#L79
ineffectual assignment to err (ineffassign)
|
lint-server:
deepfence_server/reporters/notification/scan.go#L57
ST1005: error strings should not be capitalized (stylecheck)
|
lint-server
issues found
|
lint-bootstrapper
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-utils
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-server
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-server
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|