refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
26
home/ags/node_modules/eslint-module-utils/moduleVisitor.d.ts
generated
vendored
26
home/ags/node_modules/eslint-module-utils/moduleVisitor.d.ts
generated
vendored
|
|
@ -1,26 +0,0 @@
|
|||
import type { Rule } from 'eslint';
|
||||
import type { Node } from 'estree';
|
||||
|
||||
type Visitor = (source: Node, importer: unknown) => any;
|
||||
|
||||
type Options = {
|
||||
amd?: boolean;
|
||||
commonjs?: boolean;
|
||||
esmodule?: boolean;
|
||||
ignore?: string[];
|
||||
};
|
||||
|
||||
declare function moduleVisitor(
|
||||
visitor: Visitor,
|
||||
options?: Options,
|
||||
): object;
|
||||
|
||||
export default moduleVisitor;
|
||||
|
||||
export type Schema = NonNullable<Rule.RuleModule['schema']>;
|
||||
|
||||
declare function makeOptionsSchema(additionalProperties?: Partial<Schema>): Schema
|
||||
|
||||
declare const optionsSchema: Schema;
|
||||
|
||||
export { makeOptionsSchema, optionsSchema };
|
||||
Loading…
Add table
Add a link
Reference in a new issue