UNPKG

@eslint-types/typescript-eslint

Version:
37 lines (35 loc) 1.22 kB
export interface Schema0 { /** * Check operands that are typed as `any` when inspecting "loose boolean" operands. */ checkAny?: boolean; /** * Check operands that are typed as `unknown` when inspecting "loose boolean" operands. */ checkUnknown?: boolean; /** * Check operands that are typed as `string` when inspecting "loose boolean" operands. */ checkString?: boolean; /** * Check operands that are typed as `number` when inspecting "loose boolean" operands. */ checkNumber?: boolean; /** * Check operands that are typed as `boolean` when inspecting "loose boolean" operands. */ checkBoolean?: boolean; /** * Check operands that are typed as `bigint` when inspecting "loose boolean" operands. */ checkBigInt?: boolean; /** * Skip operands that are not typed with `null` and/or `undefined` when inspecting "loose boolean" operands. */ requireNullish?: boolean; /** * Allow autofixers that will change the return type of the expression. This option is considered unsafe as it may break the build. */ allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean; } export type PreferOptionalChainRuleOptions = [Schema0?];