A VS Code extension that scans HTML and CSS for features not in Baseline using the web-features package. It underlines non‑Baseline features and shows a hover with their status.
Features
Inline warnings for:
HTML elements and attributes that are not Baseline or deprecated
CSS properties and at‑rules (including CSS inside <style> blocks)
Hover with status and feature id
Command: “Scan file for Baseline compliance”
Auto-scan on open/save/typing
Built‑in deprecated HTML tag overrides (e.g., marquee, blink, font)
Setting baselineScanner.deprecatedTags to add your own deprecated tags
Screenshots
Settings
baselineScanner.deprecatedTags: string[] — additional HTML tag names to treat as deprecated.
Notes
This is a starter implementation using simple heuristics to map tokens (CSS properties, at-rules, HTML tags/attributes) to web-features feature IDs. For production, enhance parsing and mapping as needed.