← AI
🕵️
Snarky AI Code Reviewer
Paste your JavaScript and get roasted -- a rule-based linter that pattern-matches classic code smells with attitude.
🟡 MediumDifficulty
3-4 hoursTime
Python, JavaScript, TypeScriptLanguages
What you're building
You're building a linter with personality: paste in a chunk of JavaScript and it scans for common code smells (var instead of let/const, loose == instead of ===, leftover console.logs, missing semicolons, suspiciously long lines) using regular expressions, then delivers the verdict in a deliberately snarky tone. It's not actually understanding your code's logic -- it's pattern-matching text, exactly like a real linter's simplest rules do.
What you'll unlock 🔓
You'll need
- Basic JavaScript
- Regular expressions basics
- A browser
🗺️ Build roadmap
01 Build the paste-your-code UI
→
02 Write regex checks for classic JS code smells
→
03 Score severity per issue found
→
04 Generate a snarky comment for each issue type
→
05 Show a results list with line numbers
→
06 Add an overall 'code quality grade'
→
07 Add a couple of easter-egg reactions for extreme cases
🔒
Log in to start building
Your first project is free -- create an account to unlock it.
Log in Sign up free