ags
This commit is contained in:
parent
eddf7cecb8
commit
aea798d119
16631 changed files with 1480363 additions and 257 deletions
26
home/ags/node_modules/eslint-module-utils/moduleVisitor.d.ts
generated
vendored
Normal file
26
home/ags/node_modules/eslint-module-utils/moduleVisitor.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
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