Skip to main content

remark.configs.recommended

Enable Markdown linting through Remark plus the broadly useful Remark config authoring rules.

Use this preset when you want a practical default for a repository that already uses ESLint as its primary lint entrypoint. It combines the Markdown bridge rule with low-noise config hygiene rules that keep Remark configuration deterministic without forcing every strict rule policy immediately.

Configurationโ€‹

import remark from "eslint-plugin-remark";

export default [...remark.configs.recommended];

Best fitโ€‹

  • Application and package repositories that want Markdown checks in ESLint.
  • Teams that want config cleanup rules enabled from the first rollout.
  • CI setups where one ESLint command should cover source, config, and Markdown files.

Rollout notesโ€‹

Run this preset with eslint --fix once before triage. The current config-authoring rules prefer safe fixes for shape, duplicate, and ordering issues where the static config shape is clear.

Rule matrixโ€‹

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

Fix legend:

  • ๐Ÿ”ง = autofixable
  • โ€” = report only
RuleFixThis presetAlso enabled in
remark๐Ÿ”ง๐ŸŸก Enabled๐Ÿ“ ๐ŸŸฃ
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๐Ÿ”ง ๐ŸŸฃ