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 jsdoc linting in eslint */ export declare type EslintJsdocOptions = { /** * enable or disable jsdoc in eslint * * @default true */ eslintJsdoc?: boolean; }; /** * adds jsdoc linting to eslint */ export declare class EslintJsdoc extends Component { static defaultProjectOptions: Required>; static defaultOptions: Dynamic, TypeScriptProject>; options: DeepRequired; /** * adds jsdoc to eslint if neither eslint nor eslintUnicorn are disabled * * @param project the project to add to * @param options - see `EslintUnicornOptions` */ constructor(project: TypeScriptProject, options?: Dynamic); }