Skip to content

Commit 48791d8

Browse files
committed
refactor: Switch pattern to Cosmiconfig
1 parent 095c85b commit 48791d8

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

src/core/icons/fileIcons.ts

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -880,32 +880,9 @@ export const fileIcons: FileIcons = {
880880
{
881881
name: 'graphql',
882882
fileExtensions: ['graphql', 'gql'],
883-
fileNames: [
884-
'.graphqlconfig',
885-
'graphql.config.ts',
886-
'graphql.config.cts',
887-
'graphql.config.mts',
888-
'graphql.config.js',
889-
'graphql.config.cjs',
890-
'graphql.config.mjs',
891-
'graphql.config.json',
892-
'graphql.config.yaml',
893-
'graphql.config.yml',
894-
'graphql.config.toml',
895-
'.graphqlrc',
896-
'.graphqlrc.ts',
897-
'.graphqlrc.cts',
898-
'.graphqlrc.mts',
899-
'.graphqlrc.js',
900-
'.graphqlrc.cjs',
901-
'.graphqlrc.mjs',
902-
'.graphqlrc.json',
903-
'.graphqlrc.yml',
904-
'.graphqlrc.yaml',
905-
'.graphqlrc.toml',
906-
],
883+
fileNames: ['.graphqlconfig'],
907884
patterns: {
908-
graphql: FileNamePattern.Ecmascript,
885+
graphql: FileNamePattern.Cosmiconfig,
909886
},
910887
},
911888
{ name: 'rust', fileExtensions: ['rs', 'ron'] },

0 commit comments

Comments
 (0)