{ "_doc": "Allowlist of Sonar rules whose fix is purely mechanical and cannot change behaviour. Only these may be auto-fixed (--fix-small). Everything else becomes a GitHub issue.", "rules": { "python:S1481": "Unused local variable: remove the binding but keep the right-hand expression if it has side effects.", "javascript:S1481": "Unused local variable: remove the binding but keep any side-effecting right-hand expression.", "python:S1116": "Empty statement (stray semicolon): deleting it is a no-op.", "javascript:S1116": "Empty statement / extra semicolon: deleting it is a no-op.", "javascript:S1128": "Unused import in an ES module: remove it (verify it is not imported for side effects).", "python:S125": "Commented-out code: delete the comment lines; no runtime effect.", "javascript:S125": "Commented-out code: delete the comment lines; no runtime effect." } }