1 | import { GlobalOptions, Severity } from '@fimbul/ymir';
|
2 | import { LintOptions } from './runner';
|
3 | import { OptionParser } from './optparse';
|
4 | export interface ParsedGlobalOptions extends LintOptions {
|
5 | modules: ReadonlyArray<string>;
|
6 | formatter: string | undefined;
|
7 | }
|
8 | export declare const GLOBAL_OPTIONS_SPEC: {
|
9 | modules: OptionParser.ParseFunction<readonly string[]>;
|
10 | config: OptionParser.ParseFunction<string | undefined>;
|
11 | files: OptionParser.ParseFunction<readonly string[]>;
|
12 | exclude: OptionParser.ParseFunction<readonly string[]>;
|
13 | project: OptionParser.ParseFunction<readonly string[]>;
|
14 | references: OptionParser.ParseFunction<boolean>;
|
15 | cache: OptionParser.ParseFunction<boolean>;
|
16 | formatter: OptionParser.ParseFunction<string | undefined>;
|
17 | fix: OptionParser.ParseFunction<number | boolean>;
|
18 | extensions: OptionParser.ParseFunction<string[] | undefined>;
|
19 | reportUselessDirectives: OptionParser.ParseFunction<boolean | Severity>;
|
20 | };
|
21 | export declare function parseGlobalOptions(options: GlobalOptions | undefined): ParsedGlobalOptions;
|