Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-lint-ordered-list-marker-style

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-ordered-list-marker-style - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

24

index.d.ts
export default remarkLintOrderedListMarkerStyle
export type Root = import('mdast').Root
/**
* Style.
*/
export type Marker = '.' | ')'
/**
* Options.
*/
export type Options = 'consistent' | Marker

@@ -9,13 +15,11 @@ declare const remarkLintOrderedListMarkerStyle: 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,

@@ -51,3 +51,3 @@ /**

* @example
* {"name": "ok.md", "setting": "."}
* {"name": "ok.md", "config": "."}
*

@@ -59,3 +59,3 @@ * 1. Foo

* @example
* {"name": "ok.md", "setting": ")"}
* {"name": "ok.md", "config": ")"}
*

@@ -79,3 +79,3 @@ * 1) Foo

* @example
* {"name": "not-ok.md", "label": "output", "setting": "💩", "positionless": true}
* {"name": "not-ok.md", "label": "output", "config": "💩", "positionless": true}
*

@@ -87,6 +87,11 @@ * 1:1: Incorrect ordered list item marker style `💩`: use either `'.'` or `')'`

* @typedef {import('mdast').Root} Root
* @typedef {'.'|')'} Marker
* @typedef {'consistent'|Marker} Options
*/
/**
* @typedef {'.' | ')'} Marker
* Style.
* @typedef {'consistent' | Marker} Options
* Options.
*/
import {lintRule} from 'unified-lint-rule'

@@ -93,0 +98,0 @@ import {visit} from 'unist-util-visit'

{
"name": "remark-lint-ordered-list-marker-style",
"version": "3.1.1",
"version": "3.1.2",
"description": "remark-lint rule to warn when the markers of ordered lists violate a given style",

@@ -45,5 +45,3 @@ "license": "MIT",

},
"scripts": {
"build": "rimraf \"*.d.ts\" && tsc && type-coverage"
},
"scripts": {},
"xo": false,

@@ -50,0 +48,0 @@ "typeCoverage": {

@@ -60,13 +60,13 @@ <!--This file is generated-->

In Deno with [Skypack][]:
In Deno with [`esm.sh`][esmsh]:
```js
import remarkLintOrderedListMarkerStyle from 'https://cdn.skypack.dev/remark-lint-ordered-list-marker-style@3?dts'
import remarkLintOrderedListMarkerStyle from 'https://esm.sh/remark-lint-ordered-list-marker-style@3'
```
In browsers with [Skypack][]:
In browsers with [`esm.sh`][esmsh]:
```html
<script type="module">
import remarkLintOrderedListMarkerStyle from 'https://cdn.skypack.dev/remark-lint-ordered-list-marker-style@3?min'
import remarkLintOrderedListMarkerStyle from 'https://esm.sh/remark-lint-ordered-list-marker-style@3?bundle'
</script>

@@ -287,3 +287,3 @@ ```

[skypack]: https://www.skypack.dev
[esmsh]: https://esm.sh

@@ -290,0 +290,0 @@ [npm]: https://docs.npmjs.com/cli/install

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc