europa-build
Version:
Tool for generating and maintaining Europa plugins and presets
24 lines (23 loc) • 897 B
TypeScript
import { CommandScriptProvider, CommandScriptProviderOptions } from "./CommandScriptProvider";
/**
* An abstract {@link ScriptProvider} that provides the logic for scripts based on ESLint.
*/
export declare abstract class ESLintScriptProvider extends CommandScriptProvider {
/**
* Creates an instance of {@link ESLintScriptProvider} using the `options` provided.
*
* @param options - The options to be used.
*/
protected constructor(options: ESLintScriptProviderOptions);
/**
* Returns any additional arguments to be passed to the ESLint command.
*
* @return Any ESLint command-line arguments.
*/
protected abstract getESLintArgs(): string[];
runScript(directoryPath: string): Promise<void>;
}
/**
* The options used by {@link ESLintScriptProvider}.
*/
export declare type ESLintScriptProviderOptions = CommandScriptProviderOptions;