{"library":"remark-lint-no-file-name-irregular-characters","title":"remark-lint-no-file-name-irregular-characters","description":"A remark-lint rule that warns when Markdown file names contain characters outside a configurable allowed set (default: alphanumeric, dash, dot). Current stable version is 3.0.1. It is part of the unified/remark ecosystem, maintained by the remark organization, and follows semantic versioning. Key differentiator: allows custom regex patterns to define which characters are irregular, enabling project-specific naming conventions. Supports ESM only, Node.js 16+, and TypeScript types.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-file-name-irregular-characters"],"cli":null},"imports":["import remarkLintNoFileNameIrregularCharacters from 'remark-lint-no-file-name-irregular-characters'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint';\nimport remarkLintNoFileNameIrregularCharacters from 'remark-lint-no-file-name-irregular-characters';\nimport remarkParse from 'remark-parse';\nimport remarkStringify from 'remark-stringify';\nimport {read} from 'to-vfile';\nimport {unified} from 'unified';\nimport {reporter} from 'vfile-reporter';\n\nconst file = await read('example.md');\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintNoFileNameIrregularCharacters)\n  .use(remarkStringify)\n  .process(file);\n\nconsole.error(reporter(file));","lang":"typescript","description":"Configures remark with the lint rule to check file names for irregular characters, processes a Markdown file, and reports messages.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}