Skip to content

chore: add lint configuration and fix lint issue#2

Merged
JAORMX merged 5 commits intoStacklokLabs:mainfrom
pujidjayanto:add-lint-config
May 13, 2025
Merged

chore: add lint configuration and fix lint issue#2
JAORMX merged 5 commits intoStacklokLabs:mainfrom
pujidjayanto:add-lint-config

Conversation

@pujidjayanto
Copy link
Contributor

@pujidjayanto pujidjayanto commented May 13, 2025

test seems okay

task: [test] go test -v ./...
=== RUN   TestCreateServer
--- PASS: TestCreateServer (0.00s)
PASS
ok  	github.com/StacklokLabs/osv-mcp/cmd/server	0.635s
=== RUN   TestHandleQueryVulnerability
--- PASS: TestHandleQueryVulnerability (0.00s)
=== RUN   TestHandleQueryVulnerabilityWithPURL
--- PASS: TestHandleQueryVulnerabilityWithPURL (0.00s)
=== RUN   TestHandleQueryVulnerabilityWithCommit
--- PASS: TestHandleQueryVulnerabilityWithCommit (0.00s)
=== RUN   TestHandleQueryVulnerabilitiesBatch
--- PASS: TestHandleQueryVulnerabilitiesBatch (0.00s)
=== RUN   TestHandleGetVulnerability
--- PASS: TestHandleGetVulnerability (0.00s)
PASS
ok  	github.com/StacklokLabs/osv-mcp/pkg/mcp	1.473s
=== RUN   TestQuery
--- PASS: TestQuery (0.00s)
=== RUN   TestQueryBatch
--- PASS: TestQueryBatch (0.00s)
=== RUN   TestGetVulnerability
--- PASS: TestGetVulnerability (0.00s)
PASS
ok  	github.com/StacklokLabs/osv-mcp/pkg/osv	1.065s

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@JAORMX JAORMX merged commit 8cf70e9 into StacklokLabs:main May 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants