feat: thrift-gen-http-swagger plugin #23
pr-check.yml
on: pull_request
resolve module
2s
compliant
25s
Matrix: lint module
Annotations
10 errors and 4 warnings
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/plugins/plugins.go#L31
var `flags` is unused (unused)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/generator/generator.go#L257
S1021: should merge variable declaration with assignment on next line (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L60
S1002: should omit comparison to bool constant, can be simplified to `v1` (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L235
S1002: should omit comparison to bool constant, can be simplified to `m.Boolean` (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L340
S1002: should omit comparison to bool constant, can be simplified to `m.Explode` (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L344
S1002: should omit comparison to bool constant, can be simplified to `m.AllowReserved` (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L482
S1002: should omit comparison to bool constant, can be simplified to `m.Required` (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L486
S1002: should omit comparison to bool constant, can be simplified to `m.Deprecated` (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L490
S1002: should omit comparison to bool constant, can be simplified to `m.AllowEmptyValue` (gosimple)
|
lint module (./thrift-gen-http-swagger):
thrift-gen-http-swagger/thrift/document.go#L498
S1002: should omit comparison to bool constant, can be simplified to `m.Explode` (gosimple)
|
resolve module
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
resolve module
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compliant
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint module (./thrift-gen-http-swagger)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|