import { Component } from "projen"; import { TypeScriptProject, TypeScriptProjectOptions } from "projen/lib/typescript"; import { DeepRequired } from "../util/deep-required"; import { Dynamic } from "../util/dynamic"; /** * option to enable or disable noSecrets in eslint */ export declare type EslintNoSecretsOptions = { /** * enable or disable noSecrets in eslint * * @default true */ eslintNoSecrets?: boolean; }; /** * adds noSecrets to eslint if neither eslint nor eslintNoSecrets are disabled */ export declare class EslintNoSecrets extends Component { static defaultProjectOptions: Required>; static defaultOptions: Dynamic, TypeScriptProject>; options: DeepRequired; /** * adds noSecrets to eslint if neither eslint nor eslintNoSecrets are disabled * * @param project the project to add to * @param options - see `EslintNoSecretsOptions` */ constructor(project: TypeScriptProject, options?: Dynamic); }