Skip to content

Commit bda420e

Browse files
authored
Added graphql language to ESLint-server comments (#1346)
1 parent 35f5fb9 commit bda420e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/eslintServer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,8 @@ const languageId2Config: Map<string, LanguageConfig> = new Map([
963963
['html', { ext: 'html', lineComment: '//', blockComment: ['/*', '*/'] }],
964964
['vue', { ext: 'vue', lineComment: '//', blockComment: ['/*', '*/'] }],
965965
['coffeescript', { ext: 'coffee', lineComment: '#', blockComment: ['###', '###'] }],
966-
['yaml', { ext: 'yaml', lineComment: '#', blockComment: ['#', ''] }]
966+
['yaml', { ext: 'yaml', lineComment: '#', blockComment: ['#', ''] }],
967+
['graphql', { ext: 'graphql', lineComment: '#', blockComment: ['#', ''] }]
967968
]);
968969

969970
function getLineComment(languageId: string): string {

0 commit comments

Comments
 (0)