{"library":"remark-lint-prohibited-strings","title":"remark-lint-prohibited-strings","description":"A remark-lint plugin to prohibit specified strings in markdown files (excluding code blocks). Version 4.0.0 is current and stable, with infrequent releases. It supports case-sensitive and case-insensitive matching, regular expressions, capture group replacement, and optional exclusion of matches adjacent to specified characters. Compared to alternatives, it is lightweight and simple, focused solely on string prohibition without additional linting rules.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-prohibited-strings"],"cli":null},"imports":["import remarkLintProhibitedStrings from 'remark-lint-prohibited-strings'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { remark } from 'remark';\nimport remarkLint from 'remark-lint';\nimport remarkLintProhibitedStrings from 'remark-lint-prohibited-strings';\n\nconst file = await remark()\n  .use(remarkLint)\n  .use(remarkLintProhibitedStrings, [\n    { no: 'Javascript', yes: 'JavaScript' },\n    { no: 'Github', yes: 'GitHub' }\n  ])\n  .process('# Hello Javascript world');\n\nconsole.log(file.messages);\n// Output: [1:10-1:19: Replace \"Javascript\" with \"JavaScript\" (prohibited-strings)]","lang":"javascript","description":"Shows setup of remark-lint with prohibited-strings plugin and linting a simple markdown file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}