first commit
This commit is contained in:
11
node_modules/eslint-plugin-import-x/lib/utils/module-visitor.d.ts
generated
vendored
Normal file
11
node_modules/eslint-plugin-import-x/lib/utils/module-visitor.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { JSONSchema, TSESLint, TSESTree } from '@typescript-eslint/utils';
|
||||
export type Visitor = (source: TSESTree.StringLiteral, importer: TSESTree.ImportDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ExportAllDeclaration | TSESTree.CallExpression | TSESTree.ImportExpression | TSESTree.StringLiteral) => void;
|
||||
export interface ModuleOptions {
|
||||
amd?: boolean;
|
||||
commonjs?: boolean;
|
||||
esmodule?: boolean;
|
||||
ignore?: string[];
|
||||
}
|
||||
export declare function moduleVisitor(visitor: Visitor, options?: ModuleOptions): TSESLint.RuleListener;
|
||||
export declare function makeOptionsSchema(additionalProperties?: Record<string, JSONSchema.JSONSchema4>): JSONSchema.JSONSchema4ObjectSchema;
|
||||
export declare const optionsSchema: JSONSchema.JSONSchema4ObjectSchema;
|
||||
Reference in New Issue
Block a user