{"library":"remark-lint-no-hr-after-heading","title":"remark-lint-no-hr-after-heading","description":"A remark-lint rule that warns when a horizontal rule (thematic break) appears immediately after a heading. This package is version 1.0.0, released as a stable linting rule for the remark ecosystem. It helps enforce stylistic consistency by discouraging the use of `---` as a heading border. Unlike general heading styles, this rule specifically targets thematic breaks placed after headings. The rule is part of the remark-lint plugin collection and integrates seamlessly with remark's CLI, API, and configuration files.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-hr-after-heading"],"cli":{"name":"remark","version":null}},"imports":["const remarkLintNoHrAfterHeading = require('remark-lint-no-hr-after-heading')","import remarkLintNoHrAfterHeading from 'remark-lint-no-hr-after-heading'",".use(require('remark-lint-no-hr-after-heading'))"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Example using remark with lint and this rule\nconst remark = require('remark')\nconst lint = require('remark-lint')\nconst noHrAfterHeading = require('remark-lint-no-hr-after-heading')\nconst report = require('vfile-reporter')\n\nremark()\n  .use(lint)\n  .use(noHrAfterHeading)\n  .process('# Hello World\\n---', (err, file) => {\n    console.error(report(err || file))\n  })\n// Output: warning: Don’t use a horizontal line after a heading","lang":"javascript","description":"Demonstrates how to use remark-lint-no-hr-after-heading with remark, including lint and reporter.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}