Skip to content

[backport] PR #6736 to 4.x#6742

Merged
spalger merged 1 commit into4.xfrom
jasper/backport/6736/4.x
Apr 1, 2016
Merged

[backport] PR #6736 to 4.x#6742
spalger merged 1 commit into4.xfrom
jasper/backport/6736/4.x

Conversation

@elastic-jasper
Copy link
Contributor

Backport PR #6736

Commit 1:
[internal] Remove all variable redeclarations

Redeclaring variables causes ambiguity and serves no purpose. It
actually causes a runtime error when you do it with let, and we can
enforce not doing it via a linter rule.

@elastic-jasper elastic-jasper added backport This PR is a backport of another PR has conflicts labels Apr 1, 2016
---------

**Commit 1:**
[internal] Remove all variable redeclarations

Redeclaring variables causes ambiguity and serves no purpose. It
actually causes a runtime error when you do it with `let`, and we can
enforce not doing it via a linter rule.

* Original sha: de20762
* Authored by Court Ewing <court@epixa.com> on 2016-04-01T18:21:55Z
@spalger spalger force-pushed the jasper/backport/6736/4.x branch from 5d9211e to 2f3ce70 Compare April 1, 2016 20:14
@spalger spalger merged commit fc9fec8 into 4.x Apr 1, 2016
@epixa epixa deleted the jasper/backport/6736/4.x branch April 1, 2016 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants