forked from graphql-hive/graphql-eslint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall.ts
29 lines (27 loc) · 1.16 KB
/
all.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* 🚨 IMPORTANT! Do not manually modify this file. Run: `yarn generate-configs`
*/
import { recommendedConfig } from './recommended';
export const allConfig = {
...recommendedConfig,
rules: {
...recommendedConfig.rules,
'@graphql-eslint/avoid-duplicate-fields': 'error',
'@graphql-eslint/avoid-operation-name-prefix': 'error',
'@graphql-eslint/avoid-scalar-result-type-on-mutation': 'error',
'@graphql-eslint/description-style': 'error',
'@graphql-eslint/input-name': 'error',
'@graphql-eslint/match-document-filename': 'error',
'@graphql-eslint/no-deprecated': 'error',
'@graphql-eslint/no-hashtag-description': 'error',
'@graphql-eslint/no-unreachable-types': 'error',
'@graphql-eslint/no-unused-fields': 'error',
'@graphql-eslint/require-deprecation-date': 'error',
'@graphql-eslint/require-description': 'error',
'@graphql-eslint/require-field-of-type-query-in-mutation-result': 'error',
'@graphql-eslint/require-id-when-available': 'error',
'@graphql-eslint/selection-set-depth': 'error',
'@graphql-eslint/unique-fragment-name': 'error',
'@graphql-eslint/unique-operation-name': 'error',
},
};