{"library":"remark-lint-no-file-name-mixed-case","title":"remark-lint-no-file-name-mixed-case","description":"remark-lint rule to warn when file names use mixed case (e.g., 'MyFile.md' instead of 'myfile.md' or 'MYFILE.md'). Version 3.0.1 is the current stable release, published as part of the remark-lint monorepo. This package helps enforce consistent casing for Markdown file names in projects. It is ESM-only, requires Node.js 16+, and integrates with unified/remark. No configuration options.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-file-name-mixed-case"],"cli":null},"imports":["import remarkLintNoFileNameMixedCase from 'remark-lint-no-file-name-mixed-case'","import remarkLintNoFileNameMixedCase from 'remark-lint-no-file-name-mixed-case'","import type { Plugin } from 'unified'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified';\nimport remarkParse from 'remark-parse';\nimport remarkStringify from 'remark-stringify';\nimport remarkLint from 'remark-lint';\nimport remarkLintNoFileNameMixedCase from 'remark-lint-no-file-name-mixed-case';\nimport { read } from 'to-vfile';\nimport { reporter } from 'vfile-reporter';\n\nconst file = await read('example.md');\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintNoFileNameMixedCase)\n  .use(remarkStringify)\n  .process(file);\n\nconsole.error(reporter(file));","lang":"typescript","description":"Shows how to use the plugin with unified API to lint file names for mixed case.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}