diff --git a/.eslintrc b/.eslintrc index ef945edd..5c8c85f8 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, @@ -43,7 +44,7 @@ "no-floating-decimal": 2, "no-func-assign": 2, "no-implied-eval": 2, - "no-inline-comments": 0, + "no-inline-comments": 2, "no-inner-declarations": [2, "functions"], "no-invalid-regexp": 2, "no-irregular-whitespace": 2, @@ -69,6 +70,7 @@ "no-obj-calls": 2, "no-octal": 2, "no-octal-escape": 2, + "no-param-reassign": 0, "no-path-concat": 2, "no-plusplus": 0, "no-process-env": 2, @@ -101,7 +103,7 @@ "no-use-before-define": 2, "no-void": 2, "no-var": 0, - "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }], + "no-warning-comments": [2, { "terms": ["todo", "fixme", "xxx"], "location": "anywhere" }], "no-with": 2, "no-wrap-func": 2, @@ -130,13 +132,15 @@ "key-spacing": [2, { "beforeColon": false, "afterColon": true }], "max-depth": [2, 4], "max-len": [2, 80, 2], - "max-nested-callbacks": [2, 5], + "max-nested-callbacks": [2, 3], "max-params": [2, 4], - "max-statements": [0, 10], + "max-statements": [2, 20], "new-cap": 2, "new-parens": 2, + "newline-after-var": 0, "one-var": 0, "operator-assignment": [2, "always"], + "operator-linebreak": 2, "padded-blocks": [2, "never"], "quote-props": 2, "quotes": [2, "double"], @@ -147,6 +151,7 @@ "space-after-function-name": [2, "never"], "space-after-keywords": [2, "always"], "space-before-blocks": [2, "always"], + "space-before-function-paren": [2, "never"], "space-before-function-parentheses": [2, "never"], "space-in-brackets": [2, "always", { "propertyName": false }], "space-in-parens": [2, "never"], diff --git a/package.json b/package.json index ab2a36a7..bca20132 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,10 @@ "example": "cd example & node standalone.js & grunt markdownlint & gulp markdownlint" }, "dependencies": { - "markdown-it": "^4.0.1" + "markdown-it": "^4.1.1" }, "devDependencies": { - "eslint": "^0.17.1", + "eslint": "^0.19.0", "istanbul": "^0.3.8", "nodeunit": "^0.9.1", "q": "^1.2.0"