Commit Graph

9 Commits (38f6402fa5362f2c31a31439294d9e24eda46b13)

Author SHA1 Message Date
rayx c9acdf488d
Revert "Disable ts injections in import strings (#371)" (#373)
This reverts commit da108721c5.
1 year 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.
1 year ago
ray-x b114ccfac6 support sqlx functions in ts queries 2 years ago
Amaan Qureshi f45b072606
feat: improve queries (#316)
* feat: improve queries

* chore: format files
2 years ago
ray-x 24803e04b8 injection updates
golangci nulls updates
2 years ago
ray-x 96e5768fd4 better sql injections 2 years ago
ray-x 933ff9f0d8 improve treesitter inject 2 years 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