Skip to content

Commit 52ef9cc

Browse files
committed
move ... to start
1 parent 79ea0b2 commit 52ef9cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/plugin/src/configs/operations-all.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export = {
1313
selections: ['OperationDefinition', 'FragmentDefinition'],
1414
variables: true,
1515
arguments: ['Field', 'Directive'],
16-
groups: ['id', '*', 'createdAt', 'updatedAt', '...'],
16+
groups: ['...', 'id', '*', 'createdAt', 'updatedAt'],
1717
},
1818
],
1919
'@graphql-eslint/lone-executable-definition': 'error',

packages/plugin/src/rules/alphabetize/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const schema = {
9494
...ARRAY_DEFAULT_OPTIONS,
9595
minItems: 2,
9696
description:
97-
"Custom order group. Example: `['id', '*', 'createdAt', 'updatedAt', '...']` where `...` stands for fragment spreads, and `*` stands for for everything else.",
97+
"Custom order group. Example: `['id', '*', 'createdAt', 'updatedAt', '...']` where `...` stands for fragment spreads, and `*` stands for everything else.",
9898
},
9999
},
100100
},
@@ -203,7 +203,7 @@ export const rule: GraphQLESLintRule<RuleOptions> = {
203203
selections: selectionsEnum,
204204
variables: true,
205205
arguments: [Kind.FIELD, Kind.DIRECTIVE],
206-
groups: ['id', '*', 'createdAt', 'updatedAt', '...'],
206+
groups: ['...', 'id', '*', 'createdAt', 'updatedAt'],
207207
},
208208
],
209209
},

0 commit comments

Comments
 (0)