Fails due to use of node.js 6.0.0 and 7.6.0 syntax.
Terminal output / screenshots
$ npx eslint .
3:1 error Block-scoped variables in non-strict mode are not supported until Node.js 6.0.0. The configured version range is '>=0.10' node/no-unsupported-features/es-syntax
3:20 error Template literals are not supported until Node.js 4.0.0. The configured version range is '>=0.10' node/no-unsupported-features/es-syntax
... clipped for briefness
61:1 error Async functions are not supported until Node.js 7.6.0. The configured version range is '>=0.10' node/no-unsupported-features/es-syntax
We could override this in the local .eslintrc to specify a higher version or even remove the version (use the declared package.json#engines.node). I'm not sure if this would mess with the process of updating update-template itself? The other option would be to downgrade the code to comply with node.js 0.10 syntax.
What were you expecting to happen?
eslint .
to succeedWhat actually happened?
Fails due to use of node.js 6.0.0 and 7.6.0 syntax.
Terminal output / screenshots
Additional information
This is due to
eslint-config-gulp
including:We could override this in the local
.eslintrc
to specify a higher version or even remove the version (use the declaredpackage.json#engines.node
). I'm not sure if this would mess with the process of updatingupdate-template
itself? The other option would be to downgrade the code to comply with node.js 0.10 syntax.