RFC: Support for eslint-plugin-compat
See original GitHub issueRecently 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
Also planning to add integration with babel-preset-env
and browserlist
Issue Analytics
- State:
- Created 7 years ago
- Reactions:10
- Comments:14 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s pretty cool. Let’s take another look at this after #1249.
There is also https://github.com/ismay/stylelint-no-unsupported-browser-features