Socket
Socket
Sign inDemoInstall

remark-lint-no-heading-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-no-heading-indent - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

index.js

@@ -17,3 +17,3 @@ /**

*
* @example {"name": "valid.md"}
* @example {"name": "ok.md"}
*

@@ -30,3 +30,3 @@ * #·Hello world

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

@@ -43,3 +43,3 @@ * ···# Hello world

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

@@ -46,0 +46,0 @@ * 1:4: Remove 3 spaces before this heading

{
"name": "remark-lint-no-heading-indent",
"version": "1.0.3",
"version": "1.0.4",
"description": "remark-lint rule to warn when headings are indented",

@@ -10,2 +10,3 @@ "license": "MIT",

"rule",
"remark-lint-rule",
"heading",

@@ -16,2 +17,6 @@ "indent"

"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -18,0 +23,0 @@ "contributors": [

@@ -29,3 +29,3 @@ <!--This file is generated-->

##### `valid.md`
##### `ok.md`

@@ -52,3 +52,3 @@ ###### In

##### `invalid.md`
##### `not-ok.md`

@@ -93,12 +93,12 @@ ###### In

```diff
...
"remarkConfig": {
"plugins": [
...
"lint",
+ "lint-no-heading-indent",
...
]
}
...
```

@@ -115,4 +115,4 @@

```diff
var remark = require('remark');
var report = require('vfile-reporter');
var remark = require('remark')
var report = require('vfile-reporter')

@@ -123,4 +123,4 @@ remark()

.process('_Emphasis_ and **importance**', function (err, file) {
console.error(report(err || file));
});
console.error(report(err || file))
})
```

@@ -134,4 +134,4 @@

This project has a [Code of Conduct][coc].
By interacting with this repository, organisation, or community you agree to
This project has a [code of conduct][coc].
By interacting with this repository, organization, or community you agree to
abide by its terms.

@@ -165,3 +165,3 @@

[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
[chat-badge]: https://img.shields.io/badge/chat-spectrum.svg

@@ -168,0 +168,0 @@ [chat]: https://spectrum.chat/unified/remark

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