Skip to main content

require-remark-config-file-naming-convention

Require canonical remark.config.* naming for shared Remark config files.

Rule detailsโ€‹

Remark supports multiple config file names. Shared config packages are easier to discover when they consistently use remark.config.* instead of dotfile aliases.

โŒ Incorrectโ€‹

// .remarkrc.mjs
export default {
plugins: ["remark-gfm"],
};

โœ… Correctโ€‹

// remark.config.mjs
export default {
plugins: ["remark-gfm"],
};

When not to use itโ€‹

Disable this rule for consumer applications that intentionally use .remarkrc.* to match existing tooling conventions.