From ff4405854c44656818e0b05554336d461319a0e5 Mon Sep 17 00:00:00 2001 From: Vitaly Kramskikh Date: Thu, 12 May 2016 16:54:48 +0300 Subject: [PATCH] Enable no-class-assign Usually it makes no sense to reassign class variables http://eslint.org/docs/rules/no-class-assign Change-Id: Id556cd4e427c8772aed0e97aa68fa742f8692b7d --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 2c821ce..e994dc1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -871,7 +871,7 @@ rules: # disallow modifying variables of class declarations # http://eslint.org/docs/rules/no-class-assign - no-class-assign: 0 + no-class-assign: 2 # disallow arrow functions where they could be confused with comparisons # http://eslint.org/docs/rules/no-confusing-arrow