@graphql-eslint/eslint-plugin
Version:
GraphQL plugin for ESLint
76 lines (73 loc) • 3.84 kB
JavaScript
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _indexjs = require('./alphabetize/index.js');
var _indexjs3 = require('./description-style/index.js');
var _graphqljsvalidationjs = require('./graphql-js-validation.js');
var _indexjs5 = require('./input-name/index.js');
var _indexjs7 = require('./lone-executable-definition/index.js');
var _indexjs9 = require('./match-document-filename/index.js');
var _indexjs11 = require('./naming-convention/index.js');
var _indexjs13 = require('./no-anonymous-operations/index.js');
var _indexjs15 = require('./no-deprecated/index.js');
var _indexjs17 = require('./no-duplicate-fields/index.js');
var _indexjs19 = require('./no-hashtag-description/index.js');
var _indexjs21 = require('./no-one-place-fragments/index.js');
var _indexjs23 = require('./no-root-type/index.js');
var _indexjs25 = require('./no-scalar-result-type-on-mutation/index.js');
var _indexjs27 = require('./no-typename-prefix/index.js');
var _indexjs29 = require('./no-unreachable-types/index.js');
var _indexjs31 = require('./no-unused-fields/index.js');
var _indexjs33 = require('./relay-arguments/index.js');
var _indexjs35 = require('./relay-connection-types/index.js');
var _indexjs37 = require('./relay-edge-types/index.js');
var _indexjs39 = require('./relay-page-info/index.js');
var _indexjs41 = require('./require-deprecation-date/index.js');
var _indexjs43 = require('./require-deprecation-reason/index.js');
var _indexjs45 = require('./require-description/index.js');
var _indexjs47 = require('./require-field-of-type-query-in-mutation-result/index.js');
var _indexjs49 = require('./require-import-fragment/index.js');
var _indexjs51 = require('./require-nullable-fields-with-oneof/index.js');
var _indexjs53 = require('./require-nullable-result-in-root/index.js');
var _indexjs55 = require('./require-selections/index.js');
var _indexjs57 = require('./require-type-pattern-with-oneof/index.js');
var _indexjs59 = require('./selection-set-depth/index.js');
var _indexjs61 = require('./strict-id-in-types/index.js');
var _indexjs63 = require('./unique-enum-value-names/index.js');
var _indexjs65 = require('./unique-fragment-name/index.js');
var _indexjs67 = require('./unique-operation-name/index.js');
const rules = {
..._graphqljsvalidationjs.GRAPHQL_JS_VALIDATIONS,
alphabetize: _indexjs.rule,
"description-style": _indexjs3.rule,
"input-name": _indexjs5.rule,
"lone-executable-definition": _indexjs7.rule,
"match-document-filename": _indexjs9.rule,
"naming-convention": _indexjs11.rule,
"no-anonymous-operations": _indexjs13.rule,
"no-deprecated": _indexjs15.rule,
"no-duplicate-fields": _indexjs17.rule,
"no-hashtag-description": _indexjs19.rule,
"no-one-place-fragments": _indexjs21.rule,
"no-root-type": _indexjs23.rule,
"no-scalar-result-type-on-mutation": _indexjs25.rule,
"no-typename-prefix": _indexjs27.rule,
"no-unreachable-types": _indexjs29.rule,
"no-unused-fields": _indexjs31.rule,
"relay-arguments": _indexjs33.rule,
"relay-connection-types": _indexjs35.rule,
"relay-edge-types": _indexjs37.rule,
"relay-page-info": _indexjs39.rule,
"require-deprecation-date": _indexjs41.rule,
"require-deprecation-reason": _indexjs43.rule,
"require-description": _indexjs45.rule,
"require-field-of-type-query-in-mutation-result": _indexjs47.rule,
"require-import-fragment": _indexjs49.rule,
"require-nullable-fields-with-oneof": _indexjs51.rule,
"require-nullable-result-in-root": _indexjs53.rule,
"require-selections": _indexjs55.rule,
"require-type-pattern-with-oneof": _indexjs57.rule,
"selection-set-depth": _indexjs59.rule,
"strict-id-in-types": _indexjs61.rule,
"unique-enum-value-names": _indexjs63.rule,
"unique-fragment-name": _indexjs65.rule,
"unique-operation-name": _indexjs67.rule
};
exports.rules = rules;