UNPKG

@graphql-eslint/eslint-plugin

Version:
28 lines (25 loc) 723 B
import { FromSchema } from 'json-schema-to-ts'; import { GraphQLESLintRule } from '../types.js'; import 'eslint'; import 'estree'; import 'graphql'; import '../siblings.js'; import '@graphql-tools/utils'; import '../estree-converter/types.js'; import 'graphql-config'; declare const schema: { readonly type: "array"; readonly maxItems: 1; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly properties: { readonly argumentName: { readonly type: "string"; }; }; }; }; type RuleOptions = FromSchema<typeof schema>; declare const rule: GraphQLESLintRule<RuleOptions>; export { RuleOptions, rule };