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

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 3.1.1 to 3.1.2

11

index.d.ts
export default remarkLintNoTabs
export type Root = import('mdast').Root
declare const remarkLintNoTabs: import('unified').Plugin<
| void[]
| [unknown]
| [
(
| boolean
| import('unified-lint-rule').Label
| import('unified-lint-rule').Severity
),
unknown
],
void[] | [unknown],
import('mdast').Root,
import('mdast').Root
>

1

index.js

@@ -113,2 +113,3 @@ /**

while (index !== -1) {
// @ts-expect-error: assume we have a correct point.
file.message('Use spaces instead of tabs', toPoint(index))

@@ -115,0 +116,0 @@ index = value.indexOf('\t', index + 1)

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

@@ -41,5 +41,3 @@ "license": "MIT",

},
"scripts": {
"build": "rimraf \"*.d.ts\" && tsc && type-coverage"
},
"scripts": {},
"xo": false,

@@ -46,0 +44,0 @@ "typeCoverage": {

@@ -54,13 +54,13 @@ <!--This file is generated-->

In Deno with [Skypack][]:
In Deno with [`esm.sh`][esmsh]:
```js
import remarkLintNoTabs from 'https://cdn.skypack.dev/remark-lint-no-tabs@3?dts'
import remarkLintNoTabs from 'https://esm.sh/remark-lint-no-tabs@3'
```
In browsers with [Skypack][]:
In browsers with [`esm.sh`][esmsh]:
```html
<script type="module">
import remarkLintNoTabs from 'https://cdn.skypack.dev/remark-lint-no-tabs@3?min'
import remarkLintNoTabs from 'https://esm.sh/remark-lint-no-tabs@3?bundle'
</script>

@@ -274,3 +274,3 @@ ```

[skypack]: https://www.skypack.dev
[esmsh]: https://esm.sh

@@ -277,0 +277,0 @@ [npm]: https://docs.npmjs.com/cli/install

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