Skip to main content

remark.configs.configuration

Enable only the Remark config authoring rules for remark.config.* and .remarkrc.* JavaScript/TypeScript config modules.

Use this preset when another tool already owns Markdown content linting but you still want ESLint to keep Remark configuration files predictable and reviewable.

Configurationโ€‹

import remark from "eslint-plugin-remark";

export default [remark.configs.configuration];

Best fitโ€‹

  • Shared config packages that publish Remark presets.
  • Monorepos where packages keep separate Remark config files.
  • Repositories that intentionally keep Markdown linting outside ESLint but want config hygiene in ESLint.

Rollout notesโ€‹

Most rules in this preset are static config checks. Run autofix first, then review package dependency and relative-path findings manually because those often reveal real packaging or monorepo resolution assumptions.

Rule matrixโ€‹

This table is generated from runtime plugin metadata for remark.configs.configuration.

Fix legend:

  • ๐Ÿ”ง = autofixable
  • โ€” = report only
RuleFixThis presetAlso enabled in
remark๐Ÿ”งโ€”๐ŸŸก ๐Ÿ“ ๐ŸŸฃ
prefer-remark-plugins-array๐Ÿ”ง๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
disallow-unknown-remark-config-properties๐Ÿ”ง๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
require-remark-settings-objectโ€”๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
disallow-empty-remark-config-values๐Ÿ”ง๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
disallow-empty-remark-plugin-specifiers๐Ÿ”ง๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
disallow-invalid-remark-plugin-tuplesโ€”๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
trim-remark-plugin-specifiers๐Ÿ”ง๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
disallow-remark-duplicate-plugins๐Ÿ”ง๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
sort-remark-plugins๐Ÿ”ง๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
disallow-remark-relative-plugin-pathsโ€”๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
require-remark-plugins-packages-installedโ€”๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ
require-remark-config-file-naming-conventionโ€”๐Ÿ”ง Enabled๐ŸŸก ๐ŸŸฃ