[
https://issues.apache.org/jira/browse/THRIFT-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Forbis updated THRIFT-4625:
---------------------------------
Description:
With support for the ES6 compiler, variables should be scoped using the ES6
*let* and *const* variable decorators to define variable scoping and read/write
behavior.
This brings the generated code into compliance with the
[no-var|https://eslint.org/docs/rules/no-var] eslint rule.
was:
With support for the ES6 compiler, variables should be scoped using the ES6
*let* and *const* variable decorators to define variable scoping and read/write
behavior.
This brings the generated code into compliance with the
[https://eslint.org/docs/rules/no-var|no-var] eslint rule.
> let / const variable decorators for es6 compiler
> ------------------------------------------------
>
> Key: THRIFT-4625
> URL: https://issues.apache.org/jira/browse/THRIFT-4625
> Project: Thrift
> Issue Type: Improvement
> Components: JavaScript - Compiler, Node.js - Compiler
> Reporter: Brian Forbis
> Priority: Minor
>
> With support for the ES6 compiler, variables should be scoped using the ES6
> *let* and *const* variable decorators to define variable scoping and
> read/write behavior.
> This brings the generated code into compliance with the
> [no-var|https://eslint.org/docs/rules/no-var] eslint rule.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)