Diff

.semgrep.yml @ 12802:4a8740e01813

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 12 Dec 2022 07:10:54 +0100
parent 12717:898e99f49d80
line wrap: on
line diff
--- a/.semgrep.yml	Mon Dec 12 20:40:23 2022 +0100
+++ b/.semgrep.yml	Mon Dec 12 07:10:54 2022 +0100
@@ -22,3 +22,9 @@
   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]