New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES6 features (e.g. generators) not being tested against browsers #206
Comments
Hey @amilajack for the great work so far, Quick question - Is kangax supported currently or is it still TODO? A couple of tools which have fallen out of maintainence, that check kangax that may be worth looking at to help with incorporating with this tool, if it would be preferable https://github.com/kamilogorek/compat-cli |
@YOU54F we're mostly trying to check browser API features at the moment. Usually ES features can either be polyfilled. It is often that browser APIs do not have polyfills so we're trying to focus on those first. Since |
I can imagine having two separate rules: I also am mostly looking for linting of APIs since |
I run into a similar problem. I used arrow functions and |
I added https://github.com/mysticatea/eslint-plugin-es to disallow some es6 features for my needs. Isnt it possible to extend this plugin here? |
You don’t need an eslint plugin. Just set ecmaVersion to what you’re targeting, and use no-restricted-syntax if you need to block a subset. |
Generators for example don't throw an error for IE11 https://kangax.github.io/compat-table/es6/#test-generators
The text was updated successfully, but these errors were encountered: