Eslint rule to keep from reassigning constants.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
rules
tests
.eslintrc
.gitignore
.npmignore
.travis.yml
README.md
index.js
package.json

README.md

Disallow Reassignments of consts and Const-named variables (no-reassigned-consts)

NPM Version Build Status Dependency Status Dev Dependency Status

Reassigned constant values are usually an indication of a bug or a mis-labeled variable. This rule will disallow reassigning consts or variables named like consts. (default: ALL_CAPS_SNAKE_CASE)

For more information on the rule itself, see the rule doc.