Extract to generateVariableDeclaration
Update dependencies
Fix gulp eslint task to raise error

Raise error when eslint finds ill-formed code.