question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RFC: Support for eslint-plugin-compat

See original GitHub issue

Recently I’ve been working on an eslint plugin called eslint-plugin-compat that lints support for API’s by using the caniuse db. It seems there is demand from the community for this plugin. Wonder if it has a place in create-react-app. Would a PR for it be welcome?

Here’s a demo of it in action

demo of plugin usage

Also planning to add integration with babel-preset-env and browserlist

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:10
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
gaearoncommented, Feb 11, 2017

That’s pretty cool. Let’s take another look at this after #1249.

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint-plugin-compat - npm
Lint browser compatibility of API used. Latest version: 4.0.2, last published: a year ago. Start using eslint-plugin-compat in your project ...
Read more >
eslint-plugin-compat | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Migrating to v6.0.0 - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
RFC: Ensuring promise best practices with eslint-plugin-promise
I think it can help developers understand promises better, I truly think it helped me get my head round them better · Helps...
Read more >
RFC: drop legacy browsers, allow modern syntax - HackMD
Looking at https://kangax.github.io/compat-table/es2016plus/, here is a suggestion for supported runtimes to configure in eslint-plugin-compat .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found