remark-lint-strong-marker
Advanced tools
Comparing version 3.1.1 to 3.1.2
export default remarkLintStrongMarker | ||
export type Root = import('mdast').Root | ||
/** | ||
* Styles. | ||
*/ | ||
export type Marker = '*' | '_' | ||
/** | ||
* Options. | ||
*/ | ||
export type Options = 'consistent' | Marker | ||
@@ -9,13 +15,11 @@ declare const remarkLintStrongMarker: import('unified').Plugin< | ||
| Options | ||
| import('unified-lint-rule').Label | ||
| import('unified-lint-rule').Severity | ||
| [ | ||
( | ||
| boolean | ||
| import('unified-lint-rule/lib/index.js').Label | ||
| import('unified-lint-rule/lib/index.js').Severity | ||
), | ||
(Options | undefined)? | ||
] | ||
| undefined | ||
] | ||
| [ | ||
( | ||
| boolean | ||
| import('unified-lint-rule').Label | ||
| import('unified-lint-rule').Severity | ||
), | ||
Options | undefined | ||
], | ||
@@ -22,0 +26,0 @@ import('mdast').Root, |
15
index.js
@@ -53,3 +53,3 @@ /** | ||
* @example | ||
* {"name": "ok.md", "setting": "*"} | ||
* {"name": "ok.md", "config": "*"} | ||
* | ||
@@ -59,3 +59,3 @@ * **foo**. | ||
* @example | ||
* {"name": "ok.md", "setting": "_"} | ||
* {"name": "ok.md", "config": "_"} | ||
* | ||
@@ -75,3 +75,3 @@ * __foo__. | ||
* @example | ||
* {"name": "not-ok.md", "label": "output", "setting": "💩", "positionless": true} | ||
* {"name": "not-ok.md", "label": "output", "config": "💩", "positionless": true} | ||
* | ||
@@ -83,6 +83,11 @@ * 1:1: Incorrect strong marker `💩`: use either `'consistent'`, `'*'`, or `'_'` | ||
* @typedef {import('mdast').Root} Root | ||
* @typedef {'*'|'_'} Marker | ||
* @typedef {'consistent'|Marker} Options | ||
*/ | ||
/** | ||
* @typedef {'*' | '_'} Marker | ||
* Styles. | ||
* @typedef {'consistent' | Marker} Options | ||
* Options. | ||
*/ | ||
import {lintRule} from 'unified-lint-rule' | ||
@@ -89,0 +94,0 @@ import {visit} from 'unist-util-visit' |
{ | ||
"name": "remark-lint-strong-marker", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "remark-lint rule to warn when importance (strong) markers violate the given style", | ||
@@ -44,5 +44,3 @@ "license": "MIT", | ||
}, | ||
"scripts": { | ||
"build": "rimraf \"*.d.ts\" && tsc && type-coverage" | ||
}, | ||
"scripts": {}, | ||
"xo": false, | ||
@@ -49,0 +47,0 @@ "typeCoverage": { |
@@ -59,13 +59,13 @@ <!--This file is generated--> | ||
In Deno with [Skypack][]: | ||
In Deno with [`esm.sh`][esmsh]: | ||
```js | ||
import remarkLintStrongMarker from 'https://cdn.skypack.dev/remark-lint-strong-marker@3?dts' | ||
import remarkLintStrongMarker from 'https://esm.sh/remark-lint-strong-marker@3' | ||
``` | ||
In browsers with [Skypack][]: | ||
In browsers with [`esm.sh`][esmsh]: | ||
```html | ||
<script type="module"> | ||
import remarkLintStrongMarker from 'https://cdn.skypack.dev/remark-lint-strong-marker@3?min' | ||
import remarkLintStrongMarker from 'https://esm.sh/remark-lint-strong-marker@3?bundle' | ||
</script> | ||
@@ -289,3 +289,3 @@ ``` | ||
[skypack]: https://www.skypack.dev | ||
[esmsh]: https://esm.sh | ||
@@ -292,0 +292,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
144
11993