Socket
Socket
Sign inDemoInstall

remark-lint-no-inline-padding

Package Overview
Dependencies
9
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

6

index.js

@@ -12,11 +12,11 @@ /**

*
* @example {"name": "valid.md"}
* @example {"name": "ok.md"}
*
* Alpha, *bravo*, _charlie_, [delta](http://echo.fox/trot)
*
* @example {"name": "invalid.md", "label": "input"}
* @example {"name": "not-ok.md", "label": "input"}
*
* Alpha, * bravo *, _ charlie _, [ delta ](http://echo.fox/trot)
*
* @example {"name": "invalid.md", "label": "output"}
* @example {"name": "not-ok.md", "label": "output"}
*

@@ -23,0 +23,0 @@ * 1:8-1:17: Don’t pad `emphasis` with inner spaces

{
"name": "remark-lint-no-inline-padding",
"version": "1.0.4",
"version": "1.0.5",
"description": "remark-lint rule to warn when inline nodes are padded with spaces",

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

"rule",
"remark-lint-rule",
"inline",

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

"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`

@@ -42,3 +42,3 @@ ###### In

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

@@ -72,12 +72,12 @@ ###### In

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

@@ -94,4 +94,4 @@

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

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

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

@@ -113,4 +113,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.

@@ -144,3 +144,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

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc