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