semgrep-rule-lints
Rules for linting Semgrep rule YAML files for errors or performance problems
Run Locally
Rules (6)
The 'id' field $X was used multiple times. The 'id' field needs to be unique.
Two identical pattern clauses were detected. This will cause Semgrep to run the same pattern twice. Remove one of the duplicate pattern clauses.
This rule has an empty message field. Consider adding a message field that communicates why this rule is an issue and how to fix it. This will increase the chance that the finding gets addressed.
You can not use 'pattern' $A and 'pattern-not' $A together; this will always be empty.
Please include a 'languages' field for your rule $RULEID!
This rule does not have a message. Semgrep requires that rules have a message. Include a message to explain what the rule does. Consider writing a message that explains why this is an issue and how to fix it.