]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Enable new ESLint-recommended rules in ESLint config
authorChris Rebert <code@chrisrebert.com>
Tue, 31 May 2016 07:49:48 +0000 (00:49 -0700)
committerChris Rebert <code@chrisrebert.com>
Tue, 31 May 2016 07:49:48 +0000 (00:49 -0700)
Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0#new-rules-in-eslintrecommended

js/.eslintrc.json

index 11e8f26ef6a868f0a7012d1385f250010299c57c..5624d0c1047bce6d570710cc195b1b743250b1f7 100644 (file)
@@ -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,
         "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,