Commit Graph

9 Commits (427dfd3184dae05c9d6853e4da9a76f00ebea4ad)

Author SHA1 Message Date
rayx c9acdf488d
Revert "Disable ts injections in import strings (#371)" (#373)
This reverts commit da108721c5.
9 months ago
Matthew Sykes da108721c5
Disable ts injections in import strings (#371)
Import paths like 'database/sql' are string literals and activate the
SQL injection. Adding a #not-has-ancestor predicate for
import_declaration prevents this.
9 months ago
ray-x b114ccfac6 support sqlx functions in ts queries 1 year ago
Amaan Qureshi f45b072606
feat: improve queries (#316)
* feat: improve queries

* chore: format files
1 year ago
ray-x 24803e04b8 injection updates
golangci nulls updates
1 year ago
ray-x 96e5768fd4 better sql injections 1 year ago
ray-x 933ff9f0d8 improve treesitter inject 1 year ago
ray-x 3f4ae62846 type spec 2 years ago
Manuel 62e3838974
fix: latest treesitter expects ;; extends (#245)
If this comment is not present it will overwrite all existing queries
with the content of the respective file.
Also move files from queries/go -> after/queries/go to ensure they are
loaded after e.g. nvim-treesitter queries.
2 years ago