@graphql-eslint/eslint-plugin
Version:
GraphQL plugin for ESLint
18 lines (15 loc) • 448 B
text/typescript
import { Linter } from 'eslint';
type Block = Linter.ProcessorFile & {
lineOffset: number;
offset: number;
};
declare const processor: {
meta: {
name: string;
version: string | undefined;
};
supportsAutofix: true;
preprocess(code: string, filePath: string): (string | Block)[];
postprocess(messages: Linter.LintMessage[][], filePath: string): Linter.LintMessage[];
};
export { type Block, processor };