From 5469f64fb489828b0c3632c729bc914c26fe9a72 Mon Sep 17 00:00:00 2001 From: David Anson Date: Wed, 3 Jun 2015 18:56:28 -0700 Subject: [PATCH] Update dependency: eslint. --- .eslintrc | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 6a3852d..a407639 100644 --- a/.eslintrc +++ b/.eslintrc @@ -19,6 +19,7 @@ "no-cond-assign": 2, "no-console": 2, "no-constant-condition": 2, + "no-continue": 2, "no-control-regex": 2, "no-debugger": 2, "no-delete-var": 2, @@ -29,6 +30,7 @@ "no-else-return": 2, "no-empty": 2, "no-empty-class": 2, + "no-empty-character-class": 2, "no-empty-label": 2, "no-eq-null": 2, "no-eval": 2, @@ -55,6 +57,7 @@ "no-loop-func": 2, "no-mixed-requires": [2, true], "no-mixed-spaces-and-tabs": [2, false], + "linebreak-style": [0, "unix"], "no-multi-spaces": 2, "no-multi-str": 2, "no-multiple-empty-lines": [2, {"max": 2}], @@ -96,6 +99,7 @@ "no-undef-init": 2, "no-undefined": 0, "no-underscore-dangle": 2, + "no-unneeded-ternary": 2, "no-unreachable": 2, "no-unused-expressions": 2, "no-unused-vars": [2, {"vars": "all", "args": "after-used"}], @@ -106,6 +110,7 @@ "no-with": 2, "no-wrap-func": 2, + "accessor-pairs": 2, "block-scoped-var": 2, "brace-style": [2, "1tbs"], "camelcase": 2, @@ -117,6 +122,7 @@ "consistent-this": [2, "self"], "curly": [2, "all"], "default-case": 2, + "dot-location": [2, "property"], "dot-notation": [2, { "allowKeywords": true }], "eol-last": 2, "eqeqeq": 2, @@ -129,6 +135,7 @@ "handle-callback-err": 2, "indent": [2, 2], "key-spacing": [2, { "beforeColon": false, "afterColon": true }], + "lines-around-comment": 0, "max-depth": [0, 4], "max-len": [0, 80, 4], "max-nested-callbacks": [0, 2], @@ -137,8 +144,11 @@ "new-cap": 2, "new-parens": 2, "newline-after-var": 0, + "object-curly-spacing": [2, "always"], + "object-shorthand": 0, "one-var": 0, "operator-assignment": [2, "always"], + "operator-linebreak": 2, "padded-blocks": [2, "never"], "quote-props": 0, "quotes": [2, "single"], diff --git a/package.json b/package.json index 5870ee0..69c8183 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "sax": "^1.1.1" }, "devDependencies": { - "eslint": "^0.18.0", + "eslint": "^0.22.1", "istanbul": "^0.3.14", "nock": "^2.3.0", "nodeunit": "^0.9.1"