remark-lint rule to warn when fenced code blocks have an inconsistently-cased language flag. Current stable version is 3.0.0, released as part of the unified-utils monorepo. Release cadence is irregular, with breaking changes tied to minimum node version bumps (now 20.18.0). Key differentiator: unlike similar lint rules, this enforces lowercase flags to ensure compatibility with tools like Prettier that may ignore uppercase or mixed-case flags. Full Unicode support is included. ESM-only, cannot be required with CommonJS.
npm install remark-lint-fenced-code-flag-caseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Lints a Markdown file for inconsistently-cased fenced code block flags using remark-lint and reports warnings.
Upgrade Node.js to v20.18.0 or later, or stay on v2.x.
Use import syntax; if using CommonJS, use dynamic import().
Use full package name 'remark-lint-fenced-code-flag-case' in all configs.
No fix needed; this is by design. To require flags, use another rule.
Lowercase all code block flags to ensure formatting tools work.
Run `npm install --save-dev remark-lint-fenced-code-flag-case`.
Use `import lintFencedCodeFlagCase from 'remark-lint-fenced-code-flag-case'` (default import).
Use `import { remark } from 'remark';` then call `remark().use(...)`.