Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@chrisrebert.com>2016-05-31 10:39:36 +0300
committerChris Rebert <code@chrisrebert.com>2016-05-31 10:39:39 +0300
commit0efec1a3db9d9bc15dd6b71f12fe31729475e062 (patch)
tree412f0f1297d8ee7603e4209c5897bc45f5cc83c8 /js/.eslintrc.json
parentf7677d6be5a5465df30a50a6a8c0c733a5fa44b8 (diff)
Migrate ESLint rules config to ESLint 2.0.0
Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0
Diffstat (limited to 'js/.eslintrc.json')
-rw-r--r--js/.eslintrc.json4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json
index 619df7cb3d..b866b125bf 100644
--- a/js/.eslintrc.json
+++ b/js/.eslintrc.json
@@ -55,7 +55,6 @@
"no-case-declarations": 2,
"no-div-regex": 2,
"no-else-return": 2,
- "no-empty-label": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-extend-native": 2,
@@ -125,6 +124,7 @@
"func-style": 0,
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": 0,
+ "keyword-spacing": 2,
"linebreak-style": 2,
"lines-around-comment": 0,
"new-cap": 0,
@@ -153,13 +153,11 @@
"semi": [2, "never"],
"semi-spacing": 2,
"sort-vars": 2,
- "space-after-keywords": 2,
"space-before-blocks": 2,
"space-before-function-paren": 0,
"spaced-comment": 2,
"space-infix-ops": 2,
"space-in-parens": 2,
- "space-return-throw-case": 2,
"space-unary-ops": 2,
// es6