aboutsummaryrefslogtreecommitdiffstats
path: root/.semgrep.yml
diff options
context:
space:
mode:
Diffstat (limited to '.semgrep.yml')
-rw-r--r--.semgrep.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.semgrep.yml b/.semgrep.yml
index de1ef89e..22bfcfea 100644
--- a/.semgrep.yml
+++ b/.semgrep.yml
@@ -22,3 +22,9 @@ rules:
message: Non-string default from :get_option_string
severity: ERROR
languages: [lua]
+- id: stanza-empty-text-constructor
+ patterns:
+ - pattern: $A:text()
+ message: Use :get_text() to read text, or pass a value here to add text
+ severity: WARNING
+ languages: [lua]