UNPKG

@gitlab-formatters/eslint-formatter-gitlab

Version:

Formatter that transforms ESLint reports into a format suitable for use with GitLab widgets.

6 lines (5 loc) 378 B
import { ESLint } from 'eslint'; import type { Severity } from './types.d.ts'; export declare const getRelativePath: (path: string, context: ESLint.LintResultData) => string; export declare const generateFingerprint: (data: (string | null)[], hashes: Set<string>) => string; export declare const determineSeverity: (severityCode: number, isFatal: true | undefined) => Severity;