Halo for VS Code
Real-time COPPA 2.0 risk scanning and ethical design linting for children's apps — directly in your editor.
Features
- Inline diagnostics — Highlights potential COPPA risks as you type
- 25 rules — 20 COPPA 2.0 compliance rules + 5 ethical design rules
- Severity levels — Critical, High, Medium, Low with configurable threshold
- Quick fixes — Suggested remediations for common patterns
- Multi-language — TypeScript, JavaScript, TSX, JSX, Python, Swift, HTML
Quick Start
- Install the extension from the VS Code Marketplace
- Open a project that contains code for children's apps
- Issues appear automatically in the Problems panel and inline
Commands
| Command |
Description |
Halo: Scan Current File |
Scan the active file for COPPA risks |
Halo: Scan Workspace |
Scan all supported files in the workspace |
Halo: Explain Rule |
Get a detailed explanation of a specific rule |
Halo: Disable Diagnostics |
Temporarily disable Halo scanning |
Configuration
| Setting |
Default |
Description |
halo.enable |
true |
Enable/disable Halo scanning |
halo.severity |
all |
Minimum severity to display: all, critical, high, medium |
halo.scanOnSave |
true |
Scan files when saved |
halo.scanOnType |
true |
Scan files while typing (debounced) |
Suppressing Rules
Suppress specific findings with inline comments:
// halo-ignore coppa-auth-001 — age gate handled by middleware
const login = useGoogleLogin();
Or add a .haloignore file to your project root.
Rules Reference
See the full rule list on GitHub.
Requirements
Links
License
Apache License 2.0
Halo is a developer tool that identifies potential risks in your codebase. It is not legal advice and does not guarantee regulatory compliance.
| |