Enable jsdoc/require-jsdoc rule, fix all violations (fixes #85).

This commit is contained in:
David Anson 2020-01-23 19:42:46 -08:00
parent a1249ad24d
commit 74af9f82fb
13 changed files with 257 additions and 59 deletions

View file

@ -2,16 +2,7 @@
"use strict";
const { addErrorDetailIf } = require("../helpers");
function fencedCodeBlockStyleFor(markup) {
switch (markup[0]) {
case "~":
return "tilde";
default:
return "backtick";
}
}
const { addErrorDetailIf, fencedCodeBlockStyleFor } = require("../helpers");
module.exports = {
"names": [ "MD048", "code-fence-style" ],