diff options
| author | Chris Rebert <[email protected]> | 2016-05-31 00:39:36 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-05-31 00:39:39 -0700 |
| commit | 0efec1a3db9d9bc15dd6b71f12fe31729475e062 (patch) | |
| tree | 412f0f1297d8ee7603e4209c5897bc45f5cc83c8 /js | |
| parent | f7677d6be5a5465df30a50a6a8c0c733a5fa44b8 (diff) | |
| download | bootstrap-0efec1a3db9d9bc15dd6b71f12fe31729475e062.tar.xz bootstrap-0efec1a3db9d9bc15dd6b71f12fe31729475e062.zip | |
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')
| -rw-r--r-- | js/.eslintrc.json | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json index 619df7cb3..b866b125b 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 |
