- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
27 lines
591 B
TypeScript
27 lines
591 B
TypeScript
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 };
|