axe-sarif-converter
Version:
Convert axe-core accessibility scan results to the SARIF format
7 lines (6 loc) • 374 B
TypeScript
import * as Axe from 'axe-core';
import * as Sarif from 'sarif';
import { AxeRawResult } from './axe-raw-result';
export type SarifLog = Sarif.Log;
export declare function convertAxeToSarif(axeResults: Axe.AxeResults): SarifLog;
export declare function sarifReporter(rawResults: AxeRawResult[], runOptions: Axe.RunOptions, callback: (sarifResults: SarifLog) => void): void;