Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCustom ecmaVersion #687
Comments
This comment has been minimized.
This comment has been minimized.
|
I am hesitant to add any additional configuration to |
feross
closed this
Nov 22, 2016
This comment has been minimized.
This comment has been minimized.
dcposch
commented
Dec 3, 2016
|
I think this would be useful, too. If you're running a project that needs to work everywhere without no transpiler, then you want the linter to tell you if you accidentally used an ES6 feature somewhere. |
This comment has been minimized.
This comment has been minimized.
dcposch
commented
Dec 3, 2016
|
For example, if you want to write a library that can run anywhere: in node, in the browser, in a web worker, then you could use
...to make sure you're not using any Node globals (eg |
This comment has been minimized.
This comment has been minimized.
|
Re-opening for discussion. |
feross
reopened this
Dec 3, 2016
This comment has been minimized.
This comment has been minimized.
|
This is a cool idea but I think that we're rapidly approaching a world where we'll just start shipping ES6 and even ES7 directly to browsers, since support has gotten really good. For example, take a look at how much support a feature like Also, we'll maybe eventually do a plugin system (without config!) (discussed in another issue) so that you can do |
fanatid commentedNov 16, 2016
It is possible to set custom
ecmaVersioninstandardsection inpackage.json? I want write package on ES5 and see error from standard if any feature from new ecma versions will be used.