UNPKG

@graphql-eslint/eslint-plugin

Version:
36 lines (35 loc) 1.06 kB
import { __commonJS } from "../chunk-U3TKCM4X.js"; var require_operations_all = __commonJS({ "src/configs/operations-all.ts"(exports, module) { 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" } }; } }); export default require_operations_all();