import { Component } from "projen"; import { NodeProjectOptions } from "projen/lib/javascript"; import { TypeScriptProject, TypeScriptProjectOptions } from "projen/lib/typescript"; import { DeepRequired } from "../util/deep-required"; import { Dynamic } from "../util/dynamic"; /** * option to enable or disable prettier in eslint */ export declare type EslintPrettierFixerOptions = { eslintPrettierFixer?: boolean; }; /** * makes sure prettier is added to the end of the eslint extends */ export declare class EslintPrettierFixer extends Component { static defaultProjectOptions: Required & Pick>; static defaultOptions: Dynamic, TypeScriptProject>; tsProject: TypeScriptProject; options: DeepRequired; /** * creates a EslintPrettier component to place prettier at the end of the eslint extends * * @param project the project to add prettier to * @param options - see PrettierOptions */ constructor(project: TypeScriptProject, options?: Dynamic); /** * Prettier needs to be last in the eslint extension list, so we * add this during preSynthesize */ preSynthesize(): void; }