10 lines
491 B
TypeScript
10 lines
491 B
TypeScript
import type { TSESLint } from '@typescript-eslint/utils';
|
|
export interface NormalizedOptions {
|
|
allowPrimitiveModules?: boolean;
|
|
allowRequire?: boolean;
|
|
allowConditionalRequire?: boolean;
|
|
}
|
|
export type Options = 'allow-primitive-modules' | NormalizedOptions;
|
|
type MessageId = 'export' | 'import';
|
|
declare const _default: TSESLint.RuleModule<MessageId, [(Options | undefined)?], import("../utils/create-rule.ts").ImportXPluginDocs, TSESLint.RuleListener>;
|
|
export default _default;
|