remark-lint-no-tabs
Advanced tools
Comparing version 3.1.1 to 3.1.2
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 | ||
> |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10976
122