Skip to content

feat(lib): Serverless output for static websites and Next.js #224

feat(lib): Serverless output for static websites and Next.js

feat(lib): Serverless output for static websites and Next.js #224

Triggered via pull request September 14, 2023 17:10
Status Failure
Total duration 35s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
lint: internal/static/TransformServerless.go#L5
File is not `goimports`-ed (goimports)
lint: internal/nodejs/nextjs/function.go#L6
File is not `goimports`-ed (goimports)
lint: internal/nodejs/nextjs/main.go#L7
File is not `goimports`-ed (goimports)
lint: pkg/zeaburpack/main.go#L5
File is not `goimports`-ed (goimports)
lint: internal/nodejs/nextjs/main.go#L136
ineffectual assignment to err (ineffassign)
lint
issues found
lint: pkg/types/config.go#L14
exported: exported type ZeaburOutputConfig should have comment or be unexported (revive)
lint: internal/nodejs/nextjs/main.go#L4
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
lint: internal/nodejs/nextjs/function.go#L1
package-comments: should have a package comment (revive)
lint: internal/nodejs/nextjs/function.go#L51
var-naming: type nftJson should be nftJSON (revive)