aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-05-31 00:49:48 -0700
committerChris Rebert <[email protected]>2016-05-31 00:49:48 -0700
commit92e9d9de62dc246f268debd79abf76fdcdc875f8 (patch)
tree7c027bc8c9f86cef26415d8342ab09de895bb228
parent4d3bd8e6c5da15f9427b84e192c5f0b602f54c7f (diff)
downloadbootstrap-92e9d9de62dc246f268debd79abf76fdcdc875f8.tar.xz
bootstrap-92e9d9de62dc246f268debd79abf76fdcdc875f8.zip
Enable new ESLint-recommended rules in ESLint config
Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0#new-rules-in-eslintrecommended
-rw-r--r--js/.eslintrc.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json
index 11e8f26ef..5624d0c10 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,