Skip to content

Conversation

@epixa
Copy link
Contributor

@epixa epixa commented Feb 2, 2016

This also adds a rule to our linter to flag attempts to override const variables.

I made no attempt to clean up any of the logic or code. There are definitely a few
places where with a minor refactor we'd be able to use const instead of let, as
well as a few unused variables in the mix, but this change is already significant
enough without having to verify any changes like that.

Similar to #6012, only for the 4.x branch.

@jbudz
Copy link
Contributor

jbudz commented Feb 2, 2016

LGTM

epixa added a commit that referenced this pull request Feb 2, 2016
[4.x] Use const/let instead of var in all core plugins
@epixa epixa merged commit 6b61e49 into elastic:4.x Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants