Baseline Sentinel
A VS Code extension to check for web features compatibility and provide quick fixes for baseline compatibility issues.
Features
- Real-time scanning: Automatically scans JavaScript, TypeScript, JSX, and TSX files for baseline compatibility issues
- Quick fixes: Provides one-click fixes for common baseline compatibility problems
- Dashboard view: Visual dashboard showing compatibility status across your workspace
- Customizable rules: Easy-to-configure rules for different compatibility requirements
Requirements
- VS Code 1.89.0 or higher
- Node.js (for development)
Extension Settings
This extension contributes the following settings:
baseline-sentinel.enable : Enable/disable the extension
baseline-sentinel.scanOnOpen : Automatically scan files when opened
baseline-sentinel.scanOnChange : Scan files when they are modified
Commands
Baseline Sentinel: Scan Current File - Manually scan the currently active file
Baseline Sentinel: Scan Workspace - Scan all files in the workspace
How to Use
- Open a JavaScript, TypeScript, JSX, or TSX file
- The extension will automatically scan for baseline compatibility issues
- Issues will be highlighted with warnings in the editor
- Click on the lightbulb icon or use Ctrl+. to see available quick fixes
- Use the Baseline Sentinel dashboard in the activity bar to see an overview
Development
To run this extension in development mode:
- Clone this repository
- Run
npm install to install dependencies
- Run
npm run compile to build the extension
- Press F5 in VS Code to launch the Extension Development Host
- Open a test file to see the extension in action
Release Notes
0.0.1
Initial release of Baseline Sentinel with core scanning and fixing capabilities.
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
License
This project is licensed under the MIT License.
| |