UNPKG

@typescript-eslint/eslint-plugin

Version:
20 lines (19 loc) 914 B
import { TSESTree } from '@typescript-eslint/utils'; import type { InferMessageIdsTypeFromRule, InferOptionsTypeFromRule } from '../util'; declare const baseRule: import("@typescript-eslint/utils/ts-eslint").RuleModule<"unusedExpression", [{ allowShortCircuit?: boolean; allowTaggedTemplates?: boolean; allowTernary?: boolean; }], unknown, { ExpressionStatement(node: TSESTree.ExpressionStatement): void; }>; export type MessageIds = InferMessageIdsTypeFromRule<typeof baseRule>; export type Options = InferOptionsTypeFromRule<typeof baseRule>; declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"unusedExpression", [{ allowShortCircuit?: boolean; allowTaggedTemplates?: boolean; allowTernary?: boolean; }], import("../../rules").ESLintPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & { name: string; }; export default _default;