|
Last change
on this file since ae6cd79 was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
591 bytes
|
| Line | |
|---|
| 1 | import type { Rule } from 'eslint';
|
|---|
| 2 | import type { Node } from 'estree';
|
|---|
| 3 |
|
|---|
| 4 | type Visitor = (source: Node, importer: unknown) => any;
|
|---|
| 5 |
|
|---|
| 6 | type Options = {
|
|---|
| 7 | amd?: boolean;
|
|---|
| 8 | commonjs?: boolean;
|
|---|
| 9 | esmodule?: boolean;
|
|---|
| 10 | ignore?: string[];
|
|---|
| 11 | };
|
|---|
| 12 |
|
|---|
| 13 | declare function moduleVisitor(
|
|---|
| 14 | visitor: Visitor,
|
|---|
| 15 | options?: Options,
|
|---|
| 16 | ): object;
|
|---|
| 17 |
|
|---|
| 18 | export default moduleVisitor;
|
|---|
| 19 |
|
|---|
| 20 | export type Schema = NonNullable<Rule.RuleModule['schema']>;
|
|---|
| 21 |
|
|---|
| 22 | declare function makeOptionsSchema(additionalProperties?: Partial<Schema>): Schema
|
|---|
| 23 |
|
|---|
| 24 | declare const optionsSchema: Schema;
|
|---|
| 25 |
|
|---|
| 26 | export { makeOptionsSchema, optionsSchema };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.