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

remark-lint-rule-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-rule-style - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

20

index.d.ts
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,

@@ -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

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