Lint the browser compatibility of your code. Browser targets are configured using a browser list. You can configure browser targets in your package.json. If no configuration is found, browser list defaults to "> 0.5%, last 2 versions, Firefox ESR, not dead". Add polyfills to the settings section of your eslint config. Append the name of the object and the property if one exists. Toolchains for native platforms, like iOS and Android, have had API linting from the start. It's about time that the web had similar tooling.

Features

  • Configure target browsers
  • Update ESLint Config
  • Add Polyfills
  • Provides demos and examples
  • Lint browser compatibility of your code
  • See the Road Map for the details

Project Samples

Project Activity

See All Activity >

Categories

Browsers, Code Review

License

MIT License

Follow eslint-plugin-compat

eslint-plugin-compat Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of eslint-plugin-compat!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Browsers, TypeScript Code Review Software

Registered

2022-03-16