pub enum LintDialectMode {
Warn,
Strict,
Off,
}Expand description
Lint dialect mode for the tagpath lint --dialect agent-doc finalize gate.
Resolution precedence: CLI --lint=... > frontmatter
agent_doc_lint_dialect > workspace .agent-doc/config.toml [lint] dialect > default (warn).
Warn(default): lint runs; errors block the cycle, warnings surface on stderr but do not block.Strict: warnings are promoted to errors.Off: lint gate is skipped entirely. Used to migrate documents with historical malformed directives while staging fixes.
Variants§
Trait Implementations§
Source§impl Clone for LintDialectMode
impl Clone for LintDialectMode
impl Copy for LintDialectMode
Source§impl Debug for LintDialectMode
impl Debug for LintDialectMode
Source§impl Default for LintDialectMode
impl Default for LintDialectMode
Source§impl<'de> Deserialize<'de> for LintDialectMode
impl<'de> Deserialize<'de> for LintDialectMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LintDialectMode
Source§impl PartialEq for LintDialectMode
impl PartialEq for LintDialectMode
Source§impl Serialize for LintDialectMode
impl Serialize for LintDialectMode
impl StructuralPartialEq for LintDialectMode
Auto Trait Implementations§
impl Forget for LintDialectMode
impl Freeze for LintDialectMode
impl RefUnwindSafe for LintDialectMode
impl Send for LintDialectMode
impl Sync for LintDialectMode
impl Unpin for LintDialectMode
impl UnsafeUnpin for LintDialectMode
impl UnwindSafe for LintDialectMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.