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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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