sourcegraph/dev/linters
Varun Gandhi dc7da57edb
chore: Make location fetching queries more uniform (#64026)
This patch changes the location querying code so that:
1. We're populating structures corresponding to SCIP instead of LSIF
   (with "scheme" and "identifier" inside "MonikerData")
2. Avoid repeatedly allocating a constant string 'scip' for the scheme
    only to throw it away later.
3. Makes the two queries and their scanning code more similar for easier
    comparison. When I land precise usagesForSymbol, I will de-duplicate
    some of the scanning code between these two queries.

I have avoided renaming all of the local variables to avoid creating
more noise.

## Test plan

Covered by existing tests.
2024-07-24 11:14:22 +02:00
..
bodyclose bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
dbconn support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435) 2024-06-24 21:12:47 +00:00
depguard chore: Centralize languages package as source-of-truth (#63292) 2024-06-18 13:10:24 +00:00
exhaustruct chore: Make location fetching queries more uniform (#64026) 2024-07-24 11:14:22 +02:00
forbidigo bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
gocheckcompilerdirectives bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
gocritic bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
ineffassign bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
logging bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
nolint bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
nolocalhost bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
staticcheck bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
tracinglibraries bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
unparam bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
unused bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
go.mod feat(build): Add exhaustruct linter (codeintel POC) (#63965) 2024-07-23 17:26:01 +08:00
go.sum feat(build): Add exhaustruct linter (codeintel POC) (#63965) 2024-07-23 17:26:01 +08:00