Browse Source

Merge "Enable no-const-assign"

Jenkins 2 years ago
parent
commit
e762ac5207
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .eslintrc

+ 1
- 1
.eslintrc View File

@@ -879,7 +879,7 @@ rules:
879 879
 
880 880
   # disallow modifying variables that are declared using const
881 881
   # http://eslint.org/docs/rules/no-const-assign
882
-  no-const-assign: 0
882
+  no-const-assign: 2
883 883
 
884 884
   # disallow duplicate name in class members
885 885
   # http://eslint.org/docs/rules/no-dupe-class-members

Loading…
Cancel
Save