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

remark-lint-first-heading-level

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-first-heading-level - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

6

index.d.ts

@@ -9,2 +9,4 @@ export default remarkLintFirstHeadingLevel

| [
| import('unified-lint-rule').Severity
| import('unified-lint-rule').Label
| 3

@@ -14,4 +16,2 @@ | 4

| 6
| import('unified-lint-rule').Label
| import('unified-lint-rule').Severity
| undefined

@@ -22,4 +22,4 @@ ]

| boolean
| import('unified-lint-rule').Severity
| import('unified-lint-rule').Label
| import('unified-lint-rule').Severity
),

@@ -26,0 +26,0 @@ 1 | 2 | 3 | 4 | 5 | 6 | undefined

@@ -107,3 +107,6 @@ /**

const remarkLintFirstHeadingLevel = lintRule(
'remark-lint:first-heading-level',
{
origin: 'remark-lint:first-heading-level',
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-first-heading-level#readme'
},
/** @type {import('unified-lint-rule').Rule<Root, Options>} */

@@ -110,0 +113,0 @@ (tree, file, option = 1) => {

{
"name": "remark-lint-first-heading-level",
"version": "3.0.1",
"version": "3.1.0",
"description": "remark-lint rule to warn when the first heading has a level other than a specified value",

@@ -5,0 +5,0 @@ "license": "MIT",

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