Replies: 1 comment 3 replies
-
We could expand the scope of the rules:
- name: no-drop-table
message: "never drop tables"
rule: |
query.contains("DROP TABLE") Would you expect to have a way to easily distinguish whether a rule will apply to a "query" (all |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The lint rule functionality recently added is awesome!
Would you consider expanding this beyond
query
andconfig
to support something likemigration
?Since sqlc already parses various migration files one could also use the sqlc lint rules to vet migrations.
Beta Was this translation helpful? Give feedback.
All reactions