HomeCode Review Tools
Code Review Tools
Linting and finding bad code patterns.
18 Tools Available
TODO Comment
Finds TODO comments.
///\s*TODO:/
FIXME Comment
Finds FIXME comments.
///\s*FIXME:/
Console Log
Finds JS console logging.
/console\.log\(/
Debug Print
Finds Python print statements.
/print\(/
Hardcoded Token
Potential hardcoded secrets.
/["'][a-zA-Z0-9]{20,}["']/
Long Line
Matches lines > 100 chars.
/^.{100,}$/
Trailing Space
Finds trailing whitespace.
/\s+$/
Multiple Empty Lines
Finds consecutive empty lines.
/^\s*$\n^\s*$/
Merge Conflict
Finds git merge conflicts.
/<<<<<<< HEAD/
Eval Usage
Finds dangerous eval usage.
/eval\(/
Var Keyword
Finds deprecated var usage.
/\bvar\s+/
Alert Call
Finds window.alert calls.
/alert\(/
Debugger Stmt
Finds debugger statements.
/debugger;/
Empty Catch
Finds swallowed exceptions.
/catch\s*\(\w+\)\s*\{\s*\}/
Magic Number
Finds magic numbers (e.g. seconds in day).
/[^\w]86400[^\w]/
Commented Code
Finds commented out code.
///\s*function/
Import Star
Finds wildcard imports.
/import\s+\*/
Hardcoded IP
Finds hardcoded IPs.
/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/