Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MLRuleOptions<T, O>

Type parameters

  • T: RuleConfigValue

  • O = null

Hierarchy

  • MLRuleOptions

Index

Properties

Optional defaultLevel

defaultLevel: Severity

defaultOptions

defaultOptions: O

defaultValue

defaultValue: T

name

name: string

Methods

Optional fix

  • fix(document: Document<T, O>, globalRule: RuleInfo<T, O>): Promise<void>
  • Parameters

    • document: Document<T, O>
    • globalRule: RuleInfo<T, O>

    Returns Promise<void>

verify

  • verify(document: Document<T, O>, translate: Translator, globalRule: RuleInfo<T, O>): Promise<Result[]>
  • Parameters

    • document: Document<T, O>
    • translate: Translator
    • globalRule: RuleInfo<T, O>

    Returns Promise<Result[]>

Generated using TypeDoc