Socket
Socket
Sign inDemoInstall

remark-lint-no-tabs

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-no-tabs - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

28

index.js

@@ -18,3 +18,3 @@ /**

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

@@ -25,3 +25,3 @@ * Foo Bar

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

@@ -36,3 +36,3 @@ * »Here's one before a code block.

*
* *»And...
* *»And…
*

@@ -43,13 +43,13 @@ * »1.»in a list.

*
* @example {"name": "invalid.md", "label": "output"}
* @example {"name": "not-ok.md", "label": "output"}
*
* 1:1: Use spaces instead of hard-tabs
* 3:14: Use spaces instead of hard-tabs
* 3:37: Use spaces instead of hard-tabs
* 5:23: Use spaces instead of hard-tabs
* 7:2: Use spaces instead of hard-tabs
* 9:2: Use spaces instead of hard-tabs
* 11:1: Use spaces instead of hard-tabs
* 11:4: Use spaces instead of hard-tabs
* 13:41: Use spaces instead of hard-tabs
* 1:1: Use spaces instead of tabs
* 3:14: Use spaces instead of tabs
* 3:37: Use spaces instead of tabs
* 5:23: Use spaces instead of tabs
* 7:2: Use spaces instead of tabs
* 9:2: Use spaces instead of tabs
* 11:1: Use spaces instead of tabs
* 11:4: Use spaces instead of tabs
* 13:41: Use spaces instead of tabs
*/

@@ -64,3 +64,3 @@

var reason = 'Use spaces instead of hard-tabs'
var reason = 'Use spaces instead of tabs'

@@ -67,0 +67,0 @@ function noTabs(tree, file) {

{
"name": "remark-lint-no-tabs",
"version": "1.0.3",
"version": "1.0.4",
"description": "remark-lint rule to warn when hard tabs are used instead of spaces",

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

"rule",
"remark-lint-rule",
"tab"

@@ -15,2 +16,6 @@ ],

"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)",

@@ -17,0 +22,0 @@ "contributors": [

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

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

@@ -47,3 +47,3 @@ ###### In

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

@@ -63,3 +63,3 @@ ###### In

*»And...
*»And…

@@ -74,11 +74,11 @@ »1.»in a list.

```text
1:1: Use spaces instead of hard-tabs
3:14: Use spaces instead of hard-tabs
3:37: Use spaces instead of hard-tabs
5:23: Use spaces instead of hard-tabs
7:2: Use spaces instead of hard-tabs
9:2: Use spaces instead of hard-tabs
11:1: Use spaces instead of hard-tabs
11:4: Use spaces instead of hard-tabs
13:41: Use spaces instead of hard-tabs
1:1: Use spaces instead of tabs
3:14: Use spaces instead of tabs
3:37: Use spaces instead of tabs
5:23: Use spaces instead of tabs
7:2: Use spaces instead of tabs
9:2: Use spaces instead of tabs
11:1: Use spaces instead of tabs
11:4: Use spaces instead of tabs
13:41: Use spaces instead of tabs
```

@@ -99,12 +99,12 @@

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

@@ -121,4 +121,4 @@

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

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

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

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

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

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