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

remark-lint-no-file-name-irregular-characters

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-no-file-name-irregular-characters - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

19

index.d.ts
export default remarkLintNoFileNameIrregularCharacters
export type Root = import('mdast').Root
/**
* Options.
*/
export type Options = RegExp | string
declare const remarkLintNoFileNameIrregularCharacters: import('unified').Plugin<
| void[]
| [string | 0 | RegExp | 1 | 2]
| [
(
| boolean
| import('unified-lint-rule').Label
| import('unified-lint-rule').Severity
),
Options
| Options
| [
(
| boolean
| import('unified-lint-rule/lib/index.js').Label
| import('unified-lint-rule/lib/index.js').Severity
),
(Options | undefined)?
]
],

@@ -15,0 +20,0 @@ import('mdast').Root,

@@ -34,3 +34,3 @@ /**

* @example
* {"name": "README.md", "label": "output", "setting": "\\.a-z0-9", "positionless": true}
* {"name": "README.md", "label": "output", "config": "\\.a-z0-9", "positionless": true}
*

@@ -47,6 +47,9 @@ * 1:1: Do not use `R` in a file name

* @typedef {import('mdast').Root} Root
*
* @typedef {RegExp|string} Options
*/
/**
* @typedef {RegExp | string} Options
* Options.
*/
import {lintRule} from 'unified-lint-rule'

@@ -53,0 +56,0 @@

{
"name": "remark-lint-no-file-name-irregular-characters",
"version": "2.1.1",
"version": "2.1.2",
"description": "remark-lint rule to warn when file names contain irregular characters",

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

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

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

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

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

@@ -228,3 +228,3 @@ ```

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

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