source: frontend/node_modules/@rushstack/eslint-patch/lib-dts/eslint-bulk-suppressions/bulk-suppressions-patch.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.4 KB
Line 
1import type { TSESTree } from '@typescript-eslint/types';
2import { type IBulkSuppressionsConfig, type ISuppression } from './bulk-suppressions-file';
3declare const SUPPRESSION_SYMBOL: unique symbol;
4interface IProblem {
5 [SUPPRESSION_SYMBOL]?: {
6 config: IBulkSuppressionsConfig;
7 suppression: ISuppression;
8 serializedSuppression: string;
9 };
10}
11export declare function shouldBulkSuppress(params: {
12 filename: string;
13 currentNode: TSESTree.Node;
14 ruleId: string;
15 problem: IProblem;
16}): boolean;
17export declare function prune(): void;
18export declare function write(): void;
19export declare function requireFromPathToLinterJS(importPath: string): import('eslint-9').Linter | import('eslint-8').Linter;
20export declare function patchClass<T, U extends T>(originalClass: new () => T, patchedClass: new () => U): void;
21/**
22 * This returns a wrapped version of the "verify" function from ESLint's Linter class
23 * that postprocesses rule violations that weren't suppressed by comments. This postprocessing
24 * records suppressions that weren't otherwise suppressed by comments to be used
25 * by the "suppress" and "prune" commands.
26 */
27export declare function extendVerifyFunction(originalFn: (this: unknown, ...args: unknown[]) => IProblem[] | undefined): (this: unknown, ...args: unknown[]) => IProblem[] | undefined;
28export {};
29//# sourceMappingURL=bulk-suppressions-patch.d.ts.map
Note: See TracBrowser for help on using the repository browser.