From: Chris Rebert Date: Tue, 31 May 2016 07:49:48 +0000 (-0700) Subject: Enable new ESLint-recommended rules in ESLint config X-Git-Tag: v4.0.0-alpha.3~66^2~4^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e9d9de62dc246f268debd79abf76fdcdc875f8;p=thirdparty%2Fbootstrap.git Enable new ESLint-recommended rules in ESLint config Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0#new-rules-in-eslintrecommended --- diff --git a/js/.eslintrc.json b/js/.eslintrc.json index 11e8f26ef6..5624d0c104 100644 --- a/js/.eslintrc.json +++ b/js/.eslintrc.json @@ -38,6 +38,7 @@ "no-negated-in-lhs": 2, "no-obj-calls": 2, "no-regex-spaces": 2, + "no-self-assign": 2, "no-sparse-arrays": 2, "no-unexpected-multiline": 2, "no-unreachable": 2, @@ -173,6 +174,7 @@ "no-class-assign": 2, "no-const-assign": 2, "no-dupe-class-members": 2, + "no-new-symbol": 2, "no-this-before-super": 2, "no-var": 2, "object-shorthand": 2,