eslint-plugin-import-x
Version:
Import with sanity.
16 lines (15 loc) • 739 B
TypeScript
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
export interface Options {
considerQueryString?: boolean;
'prefer-inline'?: boolean;
}
export type MessageId = 'duplicate';
export interface ModuleMap {
imported: Map<string, TSESTree.ImportDeclaration[]>;
nsImported: Map<string, TSESTree.ImportDeclaration[]>;
defaultTypesImported: Map<string, TSESTree.ImportDeclaration[]>;
namespaceTypesImported: Map<string, TSESTree.ImportDeclaration[]>;
namedTypesImported: Map<string, TSESTree.ImportDeclaration[]>;
}
declare const _default: TSESLint.RuleModule<"duplicate", [(Options | undefined)?], import("../utils/create-rule.ts").ImportXPluginDocs, TSESLint.RuleListener>;
export default _default;