second-row-partial-replacement

Try in Playground
pm-python-ruleset

picimako

UnknownInformational

0

No tags

No CWE or CVE

Pattern Rule: .*


second-row-partial-replacement

How to write a rule
function visit(pattern, filename, code) {
  const error = buildError(2, 5, 2, 15, "This is a pattern based big no-no error", "ERROR", "security");
  const edit = buildEdit(2, 5, 16, 50, "update", "Some text");
  const fix = buildFix("Replace part of the second row", [edit]);
  addError(error.addFix(fix));
}
Add comment

Log in to add a comment


    Be the first one to leave a comment!

Codiga Logo
Codiga Hub
  • Rulesets
  • Explore
  • Cookbooks
  • Playground
soc-2 icon

We are SOC-2 Compliance Certified

G2 high performer medal

Codiga – All rights reserved 2022.