remark-lint-no-heading-punctuation
Advanced tools
Comparing version 3.1.1 to 3.1.2
export default remarkLintNoHeadingPunctuation | ||
export type Root = import('mdast').Root | ||
/** | ||
* Options. | ||
*/ | ||
export type Options = string | ||
declare const remarkLintNoHeadingPunctuation: import('unified').Plugin< | ||
| void[] | ||
| [string | 0 | 1 | 2 | undefined] | ||
| [ | ||
( | ||
| boolean | ||
| import('unified-lint-rule').Label | ||
| import('unified-lint-rule').Severity | ||
), | ||
string | undefined | ||
| string | ||
| [ | ||
( | ||
| boolean | ||
| import('unified-lint-rule/lib/index.js').Label | ||
| import('unified-lint-rule/lib/index.js').Severity | ||
), | ||
(string | undefined)? | ||
] | ||
| undefined | ||
], | ||
@@ -15,0 +21,0 @@ import('mdast').Root, |
@@ -28,3 +28,3 @@ /** | ||
* @example | ||
* {"name": "ok.md", "setting": ",;:!?"} | ||
* {"name": "ok.md", "config": ",;:!?"} | ||
* | ||
@@ -58,3 +58,7 @@ * # Hello… | ||
* @typedef {import('mdast').Root} Root | ||
*/ | ||
/** | ||
* @typedef {string} Options | ||
* Options. | ||
*/ | ||
@@ -61,0 +65,0 @@ |
{ | ||
"name": "remark-lint-no-heading-punctuation", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "remark-lint rule to warn when headings end in illegal characters", | ||
@@ -44,5 +44,3 @@ "license": "MIT", | ||
}, | ||
"scripts": { | ||
"build": "rimraf \"*.d.ts\" && tsc && type-coverage" | ||
}, | ||
"scripts": {}, | ||
"xo": false, | ||
@@ -49,0 +47,0 @@ "typeCoverage": { |
@@ -56,13 +56,13 @@ <!--This file is generated--> | ||
In Deno with [Skypack][]: | ||
In Deno with [`esm.sh`][esmsh]: | ||
```js | ||
import remarkLintNoHeadingPunctuation from 'https://cdn.skypack.dev/remark-lint-no-heading-punctuation@3?dts' | ||
import remarkLintNoHeadingPunctuation from 'https://esm.sh/remark-lint-no-heading-punctuation@3' | ||
``` | ||
In browsers with [Skypack][]: | ||
In browsers with [`esm.sh`][esmsh]: | ||
```html | ||
<script type="module"> | ||
import remarkLintNoHeadingPunctuation from 'https://cdn.skypack.dev/remark-lint-no-heading-punctuation@3?min' | ||
import remarkLintNoHeadingPunctuation from 'https://esm.sh/remark-lint-no-heading-punctuation@3?bundle' | ||
</script> | ||
@@ -242,3 +242,3 @@ ``` | ||
[skypack]: https://www.skypack.dev | ||
[esmsh]: https://esm.sh | ||
@@ -245,0 +245,0 @@ [npm]: https://docs.npmjs.com/cli/install |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9981
107