mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Update dependencies: eslint-plugin-jsdoc to 31.6.0, eslint-plugin-unicorn to 27.0.0.
This commit is contained in:
parent
ec907567e2
commit
c87d7f5b8c
13 changed files with 95 additions and 74 deletions
|
@ -188,7 +188,7 @@ module.exports.fencedCodeBlockStyleFor =
|
|||
*/
|
||||
function indentFor(token) {
|
||||
const line = token.line.replace(/^[\s>]*(> |>)/, "");
|
||||
return line.length - line.trimLeft().length;
|
||||
return line.length - line.trimStart().length;
|
||||
}
|
||||
module.exports.indentFor = indentFor;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue