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