Socket
Socket
Sign inDemoInstall

remark-lint-no-trailing-spaces

Package Overview
Dependencies
3
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.2 to 1.3.0

7

index.js

@@ -20,9 +20,2 @@ var visit = require('unist-util-visit');

});
} else if (/^\s/.test(currentLine)) {
file.message('Remove leading whitespace', {
position: {
start: { line: lineIndex, column: 1 },
end: { line: lineIndex }
}
});
}

@@ -29,0 +22,0 @@ }

2

package.json
{
"name": "remark-lint-no-trailing-spaces",
"version": "1.2.2",
"version": "1.3.0",
"author": "Jonathan Verrecchia - @verekia",

@@ -5,0 +5,0 @@ "repository": "verekia/remark-lint-no-trailing-spaces",

@@ -1,2 +0,20 @@

# remark-lint-no-trailing-spaces
A remark-lint external rule to warn about trailing whitespaces
# `no-trailing-spaces` external rule for [remark-lint](https://github.com/wooorm/remark-lint)
A remark-lint external rule to warn about any trailing whitespace.
```
`·` represents ` `.
<!-- Invalid (2 warnings) -->
# Title··
··
Hello world!
<!-- Valid -->
# Title
Hello world!
```
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