remark-lint-file-extension

JSON →
library 3.0.1 ·javascript
verified May 1, 2026

A remark-lint rule to warn when a file's extension does not match a configured style. Current stable version is 3.0.1, part of the remark-lint monorepo with regular updates. It checks file extensions against a list of allowed values, supports allowing extensionless files (default true), and provides a TypeScript type for configuration. Key differentiator: it enforces consistent file naming conventions in markdown projects, useful for ensuring .md vs .mdx compliance. ESM-only since v3, requires Node.js 16+.

total hits 13
actors 4 distinct systems
last hit 4d ago AhrefsBot
GPTBot
5
MetaBot
3
ClaudeBot
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India