Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable no-const-assign #229

Closed
dcousens opened this issue Aug 13, 2015 · 1 comment
Closed

Enable no-const-assign #229

dcousens opened this issue Aug 13, 2015 · 1 comment

Comments

@dcousens
Copy link
Member

Can the following throw a warning?

const x = 1
x = 2

console.log(x)

It should be easy enough to detect.

edit: Can we enable http://eslint.org/docs/rules/no-const-assign

@dcousens dcousens changed the title const re-declare Enable no-const-assign Aug 13, 2015
@dcousens
Copy link
Member Author

My bad, it is already enabled, I was just running an old version.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

2 participants