This tool is a JavaScript<=>CoffeScript
cross-conversion tool.
Is there anything that can be converted to JavaScript<=>ES6
in the same way?
The goal is to efficiently replace the existing JS
code with ES6
.
ES6
will pass the syntax of JS(ES5)
, but
I am asking you this question because I wish there was a tool that would help me write more like ES6
.
Thank you for your cooperation.
javascript ecmascript-6
Using ESLint's automatic correction function is another way.
no-var, prefer-const, prefer-arrow-callback, http://eslint.org/docs/rules/object-shorthand"reff="reff="reff ""reffoll"reffow"reff ,"reff ""now"reff re"reffl"reffer-ar"reffer-callback"reff a"refferf"There are rules such as oreferrer">object-shorthand that automatically correct the code for ES5 to ES2015(ES6).
Note: ES6 rule list, ESLint's first step
© 2024 OneMinuteCode. All rights reserved.