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

remark-lint-no-shell-dollars

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-shell-dollars - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

12

index.js

@@ -11,3 +11,3 @@ /**

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

@@ -36,3 +36,3 @@ * ```sh

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

@@ -44,5 +44,5 @@ * ```bash

*
* @example {"name": "invalid.md", "label": "output"}
* @example {"name": "not-ok.md", "label": "output"}
*
* 1:1-4:4: Do not use dollar signs before shell-commands
* 1:1-4:4: Do not use dollar signs before shell commands
*/

@@ -58,7 +58,7 @@

var reason = 'Do not use dollar signs before shell-commands'
var reason = 'Do not use dollar signs before shell commands'
// List of shell script file extensions (also used as code flags for syntax
// highlighting on GitHub):
// See: <https://github.com/github/linguist/blob/5bf8cf5/lib/linguist/languages.yml#L3002>
// See: <https://github.com/github/linguist/blob/40992ba/lib/linguist/languages.yml#L4984>
var flags = [

@@ -65,0 +65,0 @@ 'sh',

{
"name": "remark-lint-no-shell-dollars",
"version": "1.0.3",
"version": "1.0.4",
"description": "remark-lint rule to warn when shell code is prefixed by dollars",

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

"rule",
"remark-lint-rule",
"dollar",

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

"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": [

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

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

@@ -60,3 +60,3 @@ ###### In

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

@@ -75,3 +75,3 @@ ###### In

```text
1:1-4:4: Do not use dollar signs before shell-commands
1:1-4:4: Do not use dollar signs before shell commands
```

@@ -92,12 +92,12 @@

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

@@ -114,4 +114,4 @@

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

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

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

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

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

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