class (ineffective, as you're using a Model.extend approach)
let (I guess the most useful one)
template
default-param
destruct-param
for-of (couldn't transform few occasions)
for-each (didn't change anything)
JSHint was updated to support esversion: 6
Linting & tests are running, didn't test anything manually.
How far do you want to push this?
Cannot promise to spend more time on this. But I think it makes sense to at least refactor further to class syntax, as you're effectively already using a fake class-based approach.
Maybe use ESLint to apply a few more fixes, in case you do not like the code style (e.g. I prefer brackets around single fat-arrow parameters)
Hej Adam,
this is the result of the applied transforms:
arrow
(afterwards changed theTuna
mock back)class
(ineffective, as you're using aModel.extend
approach)let
(I guess the most useful one)template
default-param
destruct-param
for-of
(couldn't transform few occasions)for-each
(didn't change anything)JSHint was updated to support
esversion: 6
Linting & tests are running, didn't test anything manually.How far do you want to push this? Cannot promise to spend more time on this. But I think it makes sense to at least refactor further to
class
syntax, as you're effectively already using a fake class-based approach. Maybe use ESLint to apply a few more fixes, in case you do not like the code style (e.g. I prefer brackets around single fat-arrow parameters)When done, it closes #55