|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "overrides": [ |
| 4 | + { |
| 5 | + "files": ["*.graphql"], |
| 6 | + "parser": "@graphql-eslint/eslint-plugin", |
| 7 | + "plugins": ["@graphql-eslint"], |
| 8 | + "parserOptions": { |
| 9 | + "schema": "./.schema/schema.graphql", |
| 10 | + "operations": ["./src/operations/**/*.graphql"] |
| 11 | + }, |
| 12 | + "rules": { |
| 13 | + "@graphql-eslint/avoid-duplicate-fields": 2, |
| 14 | + "@graphql-eslint/avoid-operation-name-prefix": 2, |
| 15 | + "@graphql-eslint/avoid-typename-prefix": 2, |
| 16 | + "@graphql-eslint/description-style": 2, |
| 17 | + "@graphql-eslint/executable-definitions": 2, |
| 18 | + "@graphql-eslint/fields-on-correct-type": 2, |
| 19 | + "@graphql-eslint/fragments-on-composite-type": 2, |
| 20 | + "@graphql-eslint/input-name": 2, |
| 21 | + "@graphql-eslint/known-argument-names": 2, |
| 22 | + "@graphql-eslint/known-directives": 2, |
| 23 | + "@graphql-eslint/known-fragment-names": 2, |
| 24 | + "@graphql-eslint/known-type-names": 2, |
| 25 | + "@graphql-eslint/lone-anonymous-operation": 2, |
| 26 | + "@graphql-eslint/no-anonymous-operations": 2, |
| 27 | + "@graphql-eslint/no-case-insensitive-enum-values-duplicates": 2, |
| 28 | + "@graphql-eslint/no-deprecated": 2, |
| 29 | + "@graphql-eslint/no-fragment-cycles": 2, |
| 30 | + "@graphql-eslint/no-hashtag-description": 2, |
| 31 | + "@graphql-eslint/no-undefined-variables": 2, |
| 32 | + "@graphql-eslint/no-unused-fields": 2, |
| 33 | + "@graphql-eslint/no-unused-fragments": 2, |
| 34 | + "@graphql-eslint/no-unused-variables": 2, |
| 35 | + "@graphql-eslint/one-field-subscriptions": 2, |
| 36 | + "@graphql-eslint/overlapping-fields-can-be-merged": 2, |
| 37 | + "@graphql-eslint/possible-fragment-spread": 2, |
| 38 | + "@graphql-eslint/possible-type-extension": 2, |
| 39 | + "@graphql-eslint/provided-required-arguments": 2, |
| 40 | + "@graphql-eslint/require-deprecation-reason": 2, |
| 41 | + "@graphql-eslint/scalar-leafs": 2, |
| 42 | + "@graphql-eslint/strict-id-in-types": 2, |
| 43 | + "@graphql-eslint/unique-argument-names": 2, |
| 44 | + "@graphql-eslint/unique-directive-names": 2, |
| 45 | + "@graphql-eslint/unique-directive-names-per-location": 2, |
| 46 | + "@graphql-eslint/unique-enum-value-names": 2, |
| 47 | + "@graphql-eslint/unique-field-definition-names": 2, |
| 48 | + "@graphql-eslint/unique-fragment-name": 2, |
| 49 | + "@graphql-eslint/unique-input-field-names": 2, |
| 50 | + "@graphql-eslint/unique-operation-name": 2, |
| 51 | + "@graphql-eslint/unique-operation-types": 2, |
| 52 | + "@graphql-eslint/unique-type-names": 2, |
| 53 | + "@graphql-eslint/unique-variable-names": 2, |
| 54 | + "@graphql-eslint/value-literals-of-correct-type": 2, |
| 55 | + "@graphql-eslint/variables-are-input-types": 2, |
| 56 | + "@graphql-eslint/variables-in-allowed-position": 2 |
| 57 | + } |
| 58 | + } |
| 59 | + ] |
| 60 | +} |
0 commit comments