Check using ES6 with ESLint.
Install with npm:
npm install
npm run test:es5
npm run test:es6
/use-es5-only/es6/es6.js
2:1 error Parsing error: The keyword 'const' is reserved
✖ 1 problem (1 error, 0 warnings)
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
MIT © azu