As mentioned before, coding style restrictions lead to consistent and predictable code.
One of the most popular styles: https://github.com/airbnb/javascript
Main changes
If we will use babel, then we need npm.
Initialize package.json
Install babel as dev dependency
Configure npm and babel a bit
Travis
This restriction should also be enforced in travis, along with tests.
Refactoring
This code definitely won't pass style tests but, as far as I know, it shouldn't be too hard to refactor code. Just run it through linter, see if it looks okay and the process is done
As mentioned before, coding style restrictions lead to consistent and predictable code. One of the most popular styles: https://github.com/airbnb/javascript
Main changes
If we will use babel, then we need npm.
Travis
This restriction should also be enforced in travis, along with tests.
Refactoring
This code definitely won't pass style tests but, as far as I know, it shouldn't be too hard to refactor code. Just run it through linter, see if it looks okay and the process is done