Add typings for Rule object to all Rule samples and examples.

This commit is contained in:
David Anson 2024-03-06 21:18:51 -08:00
parent cdc30b1279
commit c287e49eac
11 changed files with 34 additions and 9 deletions

View file

@ -5,6 +5,7 @@
const { filterTokens } = require("markdownlint-rule-helpers");
const { parse, printParseErrorCode } = require("jsonc-parser");
/** @type import("../../lib/markdownlint").Rule */
module.exports = {
"names": [ "validate-json" ],
"description": "Rule that validates JSON code",