mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Update dependencies: browserify to 14.5.0, eslint to 4.10.0, nodeunit to 0.11.2, q to 1.5.1, rimraf to 2.6.2, uglify-js to 3.1.8.
This commit is contained in:
parent
b19b3ccd7f
commit
975129671e
3 changed files with 16 additions and 13 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
"func-name-matching": "off",
|
"func-name-matching": "off",
|
||||||
"func-names": "error",
|
"func-names": "error",
|
||||||
"func-style": ["error", "declaration"],
|
"func-style": ["error", "declaration"],
|
||||||
|
"function-paren-newline": "off",
|
||||||
"generator-star-spacing": "error",
|
"generator-star-spacing": "error",
|
||||||
"getter-return": "error",
|
"getter-return": "error",
|
||||||
"global-require": "off",
|
"global-require": "off",
|
||||||
|
|
@ -56,6 +57,7 @@
|
||||||
"linebreak-style": "off",
|
"linebreak-style": "off",
|
||||||
"lines-around-comment": "off",
|
"lines-around-comment": "off",
|
||||||
"lines-around-directive": "error",
|
"lines-around-directive": "error",
|
||||||
|
"lines-between-class-members": "error",
|
||||||
"max-depth": "error",
|
"max-depth": "error",
|
||||||
"max-len": "error",
|
"max-len": "error",
|
||||||
"max-lines": "off",
|
"max-lines": "off",
|
||||||
|
|
@ -63,6 +65,7 @@
|
||||||
"max-params": ["error", 7],
|
"max-params": ["error", 7],
|
||||||
"max-statements": ["error", 32],
|
"max-statements": ["error", 32],
|
||||||
"max-statements-per-line": "error",
|
"max-statements-per-line": "error",
|
||||||
|
"multiline-comment-style": ["error", "separate-lines"],
|
||||||
"multiline-ternary": "off",
|
"multiline-ternary": "off",
|
||||||
"new-cap": "error",
|
"new-cap": "error",
|
||||||
"new-parens": "error",
|
"new-parens": "error",
|
||||||
|
|
|
||||||
|
|
@ -66,12 +66,12 @@
|
||||||
sanitize(result.errorContext) +
|
sanitize(result.errorContext) +
|
||||||
"\"</span>]" :
|
"\"</span>]" :
|
||||||
"");
|
"");
|
||||||
/* + (result.errorRange ?
|
// + (result.errorRange ?
|
||||||
" <u style='white-space: pre-wrap'>" +
|
// " <u style='white-space: pre-wrap'>" +
|
||||||
lines[result.lineNumber - 1].substr(
|
// lines[result.lineNumber - 1].substr(
|
||||||
result.errorRange[0] - 1, result.errorRange[1]) +
|
// result.errorRange[0] - 1, result.errorRange[1]) +
|
||||||
"</u>" :
|
// "</u>" :
|
||||||
""); */
|
// "");
|
||||||
}).join("<br/>");
|
}).join("<br/>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
14
package.json
14
package.json
|
|
@ -23,19 +23,19 @@
|
||||||
"example": "cd example && node standalone.js && grunt markdownlint --force && gulp markdownlint"
|
"example": "cd example && node standalone.js && grunt markdownlint --force && gulp markdownlint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"markdown-it": "~8.3.2"
|
"markdown-it": "8.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browserify": "^14.4.0",
|
"browserify": "^14.5.0",
|
||||||
"cpy-cli": "^1.0.1",
|
"cpy-cli": "^1.0.1",
|
||||||
"eslint": "^4.2.0",
|
"eslint": "^4.10.0",
|
||||||
"glob": "^7.1.2",
|
"glob": "^7.1.2",
|
||||||
"istanbul": "^0.4.5",
|
"istanbul": "^0.4.5",
|
||||||
"nodeunit": "^0.11.1",
|
"nodeunit": "^0.11.2",
|
||||||
"q": "^1.5.0",
|
"q": "^1.5.1",
|
||||||
"rimraf": "^2.6.1",
|
"rimraf": "^2.6.2",
|
||||||
"tv4": "^1.3.0",
|
"tv4": "^1.3.0",
|
||||||
"uglify-js": "^3.0.25"
|
"uglify-js": "^3.1.8"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"markdown",
|
"markdown",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue