eslint-plugin-compat is an ESLint plugin that checks whether the APIs and language features used in your code are supported by your target browsers.
The plugin solves the problem of accidentally using browser APIs or JavaScript features that are not available in browsers you need to support. It works by analyzing your code against a browserslist configuration to determine which browsers you target, then checking each API call and language feature against compatibility data to flag unsupported usage. This catches compatibility issues at lint time rather than discovering them through testing or user reports.
You should adopt this tool if you maintain a codebase that must run on specific older or less-capable browsers. It works well for projects where you have defined browser support requirements through a browserslist configuration. The plugin integrates directly into your ESLint workflow, making compatibility checks part of your standard linting process without requiring additional tooling.
The project shows consistent maintenance with regular updates to address issues and incorporate feedback. Pull requests receive timely review and merging. The codebase demonstrates active development focused on improving detection accuracy and expanding API coverage. Issue responses indicate engagement with user-reported problems and feature requests.