UNPKG

@graphql-eslint/eslint-plugin

Version:
29 lines (28 loc) 769 B
"use strict"; module.exports = { extends: "./configs/operations-recommended", rules: { "@graphql-eslint/alphabetize": [ "error", { definitions: !0, selections: ["OperationDefinition", "FragmentDefinition"], variables: !0, arguments: ["Field", "Directive"], groups: ["id", "*", "createdAt", "updatedAt"] } ], "@graphql-eslint/lone-executable-definition": "error", "@graphql-eslint/match-document-filename": [ "error", { query: "kebab-case", mutation: "kebab-case", subscription: "kebab-case", fragment: "kebab-case" } ], "@graphql-eslint/no-one-place-fragments": "error", "@graphql-eslint/require-import-fragment": "error" } };