Skip to main content

git_policy_cli/markdown/
mod.rs

1//! What:
2//!  The `markdown/autofix` policy and its in-process linter.
3//! Why:
4//!  The linter runs on a guarded thread and has its own configuration,
5//!  so it stays apart from the other policies.
6//!
7//! In TS you'd write (pseudocode):
8//! ```ts
9//! // markdown/index.ts: one `export * from './file'` per module below.
10//! ```
11
12/// What one in-process linter run produced:
13///  the fixed source and the findings left,
14///  or why it is unusable.
15pub mod markdown_linter_output;
16
17/// The one-rule linter configuration document.
18pub mod markdown_linter_config;
19
20/// The gitignore-syntax `exclude` patterns of `markdown/autofix`,
21///  matched as the linter matches them.
22pub mod markdown_exclude;
23
24/// The `markdown/autofix` policy over candidates,
25///  behind its linter interface.
26pub mod policy_markdown;
27
28/// The executable's linter for that policy:
29///  `monochromatic-lint` linked in-process,
30///  guarded by a deadline,
31///  once per candidate.
32pub mod markdown_linter;
33
34/// A job on a thread of its own with a deadline and panic containment.
35pub mod markdown_linter_guard;