diff --git a/.eslintrc b/.eslintrc index 4fcecdaf..ca9865a0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -30,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, @@ -105,10 +106,12 @@ "no-use-before-define": 2, "no-void": 2, "no-var": 0, + "prefer-const": 2, "no-warning-comments": [2, { "terms": ["todo", "fixme", "xxx"], "location": "anywhere" }], "no-with": 2, "no-wrap-func": 2, + "accessor-pairs": 2, "block-scoped-var": 2, "brace-style": [2, "1tbs"], "camelcase": 2, @@ -116,6 +119,7 @@ "comma-spacing": 2, "comma-style": 2, "complexity": [2, 11], + "computed-property-spacing": [2, "never"], "consistent-return": 2, "consistent-this": [2, "self"], "curly": [2, "all"], @@ -133,6 +137,7 @@ "handle-callback-err": 2, "indent": [2, 2], "key-spacing": [2, { "beforeColon": false, "afterColon": true }], + "lines-around-comment": 0, "max-depth": [2, 4], "max-len": [2, 80, 2], "max-nested-callbacks": [2, 3], @@ -141,6 +146,7 @@ "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"], @@ -162,6 +168,7 @@ "space-infix-ops": 2, "space-return-throw-case": 2, "space-unary-ops": [2, { "words": true, "nonwords": false }], + "spaced-comment": 0, "spaced-line-comment": [2, "always"], "strict": 2, "use-isnan": 2, diff --git a/package.json b/package.json index cb355bc2..0311a368 100644 --- a/package.json +++ b/package.json @@ -20,12 +20,12 @@ "example": "npm install through2 & cd example & node standalone.js & grunt markdownlint & gulp markdownlint" }, "dependencies": { - "markdown-it": "^4.2.1" + "markdown-it": "^4.2.2" }, "devDependencies": { - "browserify": "^10.1.3", - "eslint": "^0.21.0", - "istanbul": "^0.3.13", + "browserify": "^10.2.4", + "eslint": "^0.23.0", + "istanbul": "^0.3.15", "nodeunit": "^0.9.1", "q": "^1.4.0", "uglify-js": "^2.4.23"