@@ -42,6 +42,7 @@ matrixai-lint --fix
4242| ` --user-config ` | Uses detected ` eslint.config.[js,mjs,cjs,ts] ` from the project root if found |
4343| ` --eslint-config <path> ` | Explicitly use a custom ESLint config file |
4444| ` --eslint <targets> ` | ESLint targets (files, roots, or globs); implies ESLint domain selection |
45+ | ` --markdown <targets> ` | Markdown targets (files, roots, or globs); implies markdown domain selection |
4546| ` --shell <targets> ` | Shell targets (files, roots, or globs); implies shell domain selection |
4647| ` --domain <id...> ` | Run only selected domains (` eslint ` , ` shell ` , ` markdown ` ) |
4748| ` --skip-domain <id...> ` | Skip selected domains (` eslint ` , ` shell ` , ` markdown ` ) |
@@ -58,13 +59,20 @@ Domain selection behavior:
5859 - ` --eslint ... ` runs ESLint only.
5960 - ` --shell ... ` runs shell only.
6061 - Passing both runs both.
62+ - Passing ` --markdown ` implies markdown domain selection.
63+ - ` --markdown ... ` runs markdown only.
64+ - Combined with other target flags, only those targeted domains run.
6165- ` shellcheck ` is optional only for default auto-run shell execution.
6266 - If shell is explicitly requested (` --shell ... ` or ` --domain shell ` ),
6367 missing ` shellcheck ` is a failure.
6468- ` --shell ` accepts target paths and glob patterns.
6569 - Directories are used as roots.
6670 - File paths and glob patterns are reduced to search roots, then ` *.sh ` files
6771 are discovered under those roots.
72+ - ` --markdown ` accepts target paths and glob patterns.
73+ - Directories are used as roots.
74+ - File paths and glob patterns are reduced to search roots, then ` *.md ` /
75+ ` *.mdx ` files are discovered under those roots.
6876
6977#### Targeted workflows
7078
@@ -86,6 +94,12 @@ Domain selection behavior:
8694 matrixai-lint --domain markdown
8795 ```
8896
97+ - Markdown only under selected roots:
98+
99+ ``` sh
100+ matrixai-lint --markdown standards templates README.md
101+ ```
102+
89103- Mixed scoped run (ESLint + shell only):
90104
91105 ``` sh
@@ -99,6 +113,7 @@ matrixai-lint --fix
99113matrixai-lint --user-config
100114matrixai-lint --eslint-config ./eslint.config.js --fix
101115matrixai-lint --eslint " src/**/*.{ts,tsx}" --shell scripts
116+ matrixai-lint --markdown standards templates README.md
102117matrixai-lint --domain eslint markdown
103118matrixai-lint --skip-domain markdown
104119matrixai-lint --list-domains
0 commit comments