mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Enable jsdoc/require-jsdoc rule, fix all violations (fixes #85).
This commit is contained in:
parent
a1249ad24d
commit
74af9f82fb
13 changed files with 257 additions and 59 deletions
|
|
@ -3,13 +3,9 @@
|
|||
"use strict";
|
||||
|
||||
const { addError, filterTokens, forEachInlineCodeSpan, forEachLine,
|
||||
includesSorted, newLineRe } = require("../helpers");
|
||||
includesSorted, newLineRe, numericSortAscending } = require("../helpers");
|
||||
const { lineMetadata } = require("./cache");
|
||||
|
||||
function numericSortAscending(a, b) {
|
||||
return a - b;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
"names": [ "MD009", "no-trailing-spaces" ],
|
||||
"description": "Trailing spaces",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue