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
| Rule | Fix | This preset | Also 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 | ๐ง ๐ฃ |