Merge pull request #560 from rhbecker/update-eslint-config_no-const-assign

disallow reassignment of `const` variables
This commit is contained in:
Jordan Harband
2015-10-29 22:48:46 -07:00

View File

@@ -32,7 +32,7 @@ module.exports = {
// disallow modifying variables of class declarations
'no-class-assign': 0,
// disallow modifying variables that are declared using const
'no-const-assign': 0,
'no-const-assign': 2,
// disallow to use this/super before super() calling in constructors.
'no-this-before-super': 0,
// require let or const instead of var