UNPKG

@typescript-eslint/eslint-plugin

Version:
22 lines (21 loc) 820 B
import { TSESLint } from '@typescript-eslint/utils'; export type MessageIds = 'unusedVar' | 'usedIgnoredVar' | 'usedOnlyAsType'; export type Options = [ 'all' | 'local' | { args?: 'after-used' | 'all' | 'none'; argsIgnorePattern?: string; caughtErrors?: 'all' | 'none'; caughtErrorsIgnorePattern?: string; destructuredArrayIgnorePattern?: string; ignoreClassWithStaticInitBlock?: boolean; ignoreRestSiblings?: boolean; ignoreUsingDeclarations?: boolean; reportUsedIgnorePattern?: boolean; vars?: 'all' | 'local'; varsIgnorePattern?: string; } ]; declare const _default: TSESLint.RuleModule<MessageIds, Options, import("../../rules").ESLintPluginDocs, TSESLint.RuleListener> & { name: string; }; export default _default;