UNPKG

@typescript-eslint/eslint-plugin

Version:
23 lines (22 loc) 875 B
import type { TSESLint } from '@typescript-eslint/utils'; export type Options = [ { allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean; ignoreBooleanCoercion?: boolean; ignoreConditionalTests?: boolean; ignoreIfStatements?: boolean; ignoreMixedLogicalExpressions?: boolean; ignorePrimitives?: true | { bigint?: boolean; boolean?: boolean; number?: boolean; string?: boolean; }; ignoreTernaryTests?: boolean; } ]; export type MessageIds = 'noStrictNullCheck' | 'preferNullishOverAssignment' | 'preferNullishOverOr' | 'preferNullishOverTernary' | 'suggestNullish'; declare const _default: TSESLint.RuleModule<MessageIds, Options, import("../../rules").ESLintPluginDocs, TSESLint.RuleListener> & { name: string; }; export default _default;