remark-lint-rule-style
Advanced tools
Comparing version 3.1.1 to 3.1.2
export default remarkLintRuleStyle | ||
export type Root = import('mdast').Root | ||
/** | ||
* Options. | ||
*/ | ||
export type Options = string | ||
declare const remarkLintRuleStyle: 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, |
10
index.js
@@ -46,3 +46,3 @@ /** | ||
* @example | ||
* {"name": "ok.md", "setting": "* * *"} | ||
* {"name": "ok.md", "config": "* * *"} | ||
* | ||
@@ -54,3 +54,3 @@ * * * * | ||
* @example | ||
* {"name": "ok.md", "setting": "_______"} | ||
* {"name": "ok.md", "config": "_______"} | ||
* | ||
@@ -74,3 +74,3 @@ * _______ | ||
* @example | ||
* {"name": "not-ok.md", "label": "output", "setting": "💩", "positionless": true} | ||
* {"name": "not-ok.md", "label": "output", "config": "💩", "positionless": true} | ||
* | ||
@@ -82,3 +82,7 @@ * 1:1: Incorrect preferred rule style: provide a correct markdown rule or `'consistent'` | ||
* @typedef {import('mdast').Root} Root | ||
*/ | ||
/** | ||
* @typedef {string} Options | ||
* Options. | ||
*/ | ||
@@ -85,0 +89,0 @@ |
{ | ||
"name": "remark-lint-rule-style", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "remark-lint rule to warn when horizontal rules violate a given style", | ||
@@ -44,5 +44,3 @@ "license": "MIT", | ||
}, | ||
"scripts": { | ||
"build": "rimraf \"*.d.ts\" && tsc && type-coverage" | ||
}, | ||
"scripts": {}, | ||
"xo": false, | ||
@@ -49,0 +47,0 @@ "typeCoverage": { |
@@ -60,13 +60,13 @@ <!--This file is generated--> | ||
In Deno with [Skypack][]: | ||
In Deno with [`esm.sh`][esmsh]: | ||
```js | ||
import remarkLintRuleStyle from 'https://cdn.skypack.dev/remark-lint-rule-style@3?dts' | ||
import remarkLintRuleStyle from 'https://esm.sh/remark-lint-rule-style@3' | ||
``` | ||
In browsers with [Skypack][]: | ||
In browsers with [`esm.sh`][esmsh]: | ||
```html | ||
<script type="module"> | ||
import remarkLintRuleStyle from 'https://cdn.skypack.dev/remark-lint-rule-style@3?min' | ||
import remarkLintRuleStyle from 'https://esm.sh/remark-lint-rule-style@3?bundle' | ||
</script> | ||
@@ -274,3 +274,3 @@ ``` | ||
[skypack]: https://www.skypack.dev | ||
[esmsh]: https://esm.sh | ||
@@ -277,0 +277,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
12202
136