ESLint plugin to promote ES6 best practices.
npm install eslint-plugin-es6-recommendednpm install --save-dev eslint-plugin-es6-recommended
Add the following to your .eslintrc file:
``js`
"plugins": [
"es6-recommended"
]$3
All of these rules have to do with JavaScript modules in one way or another.
- no-arguments - use rest parameters instead of argumentsprefer-for-of` - use for-of instead of for, for-in, and Array.prototype.forEach
-
TODO:
- prefer-class
- prefer-default-params