remark-lint-no-html
Advanced tools
Comparing version
export default remarkLintNoHtml; | ||
export type Root = import('mdast').Root; | ||
/** | ||
@@ -12,6 +11,4 @@ * Configuration. | ||
}; | ||
declare const remarkLintNoHtml: { | ||
(config?: import("../../node_modules/unified-lint-rule/lib/index.js").Label | import("../../node_modules/unified-lint-rule/lib/index.js").Severity | Readonly<Options> | [level: import("../../node_modules/unified-lint-rule/lib/index.js").Label | import("../../node_modules/unified-lint-rule/lib/index.js").Severity, option?: Readonly<Options> | null | undefined] | null | undefined): ((tree: import("mdast").Root, file: import("vfile").VFile, next: import("unified").TransformCallback<import("mdast").Root>) => undefined) | undefined; | ||
readonly name: string; | ||
}; | ||
declare const remarkLintNoHtml: import("unified-lint-rule").Plugin<Root, Readonly<Options> | null | undefined>; | ||
import type { Root } from 'mdast'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -42,3 +42,3 @@ /** | ||
* @author Titus Wormer | ||
* @copyright 2015 Titus Wormer | ||
* @copyright Titus Wormer | ||
* @license MIT | ||
@@ -73,3 +73,3 @@ * | ||
/** | ||
* @typedef {import('mdast').Root} Root | ||
* @import {Root} from 'mdast' | ||
*/ | ||
@@ -76,0 +76,0 @@ |
{ | ||
"name": "remark-lint-no-html", | ||
"version": "4.0.0", | ||
"description": "remark-lint rule to warn when HTML nodes are used", | ||
"license": "MIT", | ||
"keywords": [ | ||
"html", | ||
"lint", | ||
"remark", | ||
"remark-lint", | ||
"remark-lint-rule", | ||
"rule" | ||
], | ||
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-html", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
"bugs": "https://github.com/remarkjs/remark-lint/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <tituswormer@gmail.com>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"dependencies": { | ||
"@types/mdast": "^4.0.0", | ||
"unified-lint-rule": "^3.0.0", | ||
"unist-util-visit-parents": "^6.0.0" | ||
}, | ||
"description": "remark-lint rule to warn when HTML nodes are used", | ||
"exports": "./index.js", | ||
@@ -32,14 +19,25 @@ "files": [ | ||
], | ||
"dependencies": { | ||
"@types/mdast": "^4.0.0", | ||
"unified-lint-rule": "^3.0.0", | ||
"unist-util-visit-parents": "^6.0.0" | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"keywords": [ | ||
"html", | ||
"lint", | ||
"remark", | ||
"remark-lint", | ||
"remark-lint-rule", | ||
"rule" | ||
], | ||
"license": "MIT", | ||
"name": "remark-lint-no-html", | ||
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-html", | ||
"scripts": {}, | ||
"sideEffects": false, | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"detail": true, | ||
"ignoreCatch": true, | ||
"strict": true | ||
}, | ||
"type": "module", | ||
"version": "4.0.1", | ||
"xo": { | ||
@@ -46,0 +44,0 @@ "prettier": true, |
Sorry, the diff of this file is not supported yet
10213
-5.29%121
-3.2%