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

remark-lint-list-item-indent

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-list-item-indent - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

21

index.d.ts
export default remarkLintListItemIndent
export type Root = import('mdast').Root
/**
* Options.
*/
export type Options = 'tab-size' | 'space' | 'mixed'

@@ -8,13 +11,11 @@ declare const remarkLintListItemIndent: 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
],

@@ -21,0 +22,0 @@ import('mdast').Root,

@@ -82,3 +82,3 @@ /**

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

@@ -100,3 +100,3 @@ * *·List item.

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

@@ -118,3 +118,3 @@ * *·List item.

* @example
* {"name": "not-ok.md", "setting": "space", "label": "input"}
* {"name": "not-ok.md", "config": "space", "label": "input"}
*

@@ -125,3 +125,3 @@ * *···List

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

@@ -131,3 +131,3 @@ * 1:5: Incorrect list-item indent: remove 2 spaces

* @example
* {"name": "not-ok.md", "setting": "tab-size", "label": "input"}
* {"name": "not-ok.md", "config": "tab-size", "label": "input"}
*

@@ -138,3 +138,3 @@ * *·List

* @example
* {"name": "not-ok.md", "setting": "tab-size", "label": "output"}
* {"name": "not-ok.md", "config": "tab-size", "label": "output"}
*

@@ -144,3 +144,3 @@ * 1:3: Incorrect list-item indent: add 2 spaces

* @example
* {"name": "not-ok.md", "setting": "mixed", "label": "input"}
* {"name": "not-ok.md", "config": "mixed", "label": "input"}
*

@@ -150,3 +150,3 @@ * *···List item.

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

@@ -156,3 +156,3 @@ * 1:5: Incorrect list-item indent: remove 2 spaces

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

@@ -164,5 +164,9 @@ * 1:1: Incorrect list-item indent style `💩`: use either `'tab-size'`, `'space'`, or `'mixed'`

* @typedef {import('mdast').Root} Root
* @typedef {'tab-size'|'space'|'mixed'} Options
*/
/**
* @typedef {'tab-size' | 'space' | 'mixed'} Options
* Options.
*/
import {lintRule} from 'unified-lint-rule'

@@ -169,0 +173,0 @@ import plural from 'pluralize'

{
"name": "remark-lint-list-item-indent",
"version": "3.1.1",
"version": "3.1.2",
"description": "remark-lint rule to warn when the spacing between a list item’s bullet and its content violates a given style",

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

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

@@ -51,0 +49,0 @@ "typeCoverage": {

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

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

@@ -383,3 +383,3 @@ ```

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

@@ -386,0 +386,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