mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Add typings for Rule object to all Rule samples and examples.
This commit is contained in:
parent
cdc30b1279
commit
c287e49eac
11 changed files with 34 additions and 9 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue