- Preparing search index...
- The search index is not available
Markuplit API
- mlTestFile(target: Target, config?: Config, rules?: readonly Readonly<AnyMLRule>[], locale?: string, fix?: boolean): Promise<{
fixedCode: undefined | string;
violations: readonly Violation[];
}>
-
Parameters
-
-
Optional
config: Config
-
Optional
rules: readonly Readonly<AnyMLRule>[]
-
Optional
locale: string
-
fix: boolean = false
Returns Promise<{
fixedCode: undefined | string;
violations: readonly Violation[];
}>