fix(#222): add missing codemirror/addon/lint/lint import to fix GQL validation

This commit is contained in:
Jonathan Gruber 2023-10-09 13:09:45 +02:00
parent 2df7f63ba9
commit 5db50339e0

View File

@ -14,24 +14,25 @@ const SERVER_RENDERED = typeof navigator === 'undefined' || global['PREVENT_CODE
if (!SERVER_RENDERED) { if (!SERVER_RENDERED) {
require('codemirror/mode/javascript/javascript'); require('codemirror/mode/javascript/javascript');
require('codemirror/mode/xml/xml'); require('codemirror/mode/xml/xml');
require('codemirror/addon/scroll/simplescrollbars'); require('codemirror/addon/comment/comment');
require('codemirror/addon/dialog/dialog');
require('codemirror/addon/edit/closebrackets');
require('codemirror/addon/edit/matchbrackets'); require('codemirror/addon/edit/matchbrackets');
require('codemirror/addon/fold/brace-fold'); require('codemirror/addon/fold/brace-fold');
require('codemirror/addon/fold/foldgutter'); require('codemirror/addon/fold/foldgutter');
require('codemirror/addon/mode/overlay');
require('codemirror/addon/hint/show-hint'); require('codemirror/addon/hint/show-hint');
require('codemirror/keymap/sublime'); require('codemirror/addon/lint/lint');
require('codemirror/addon/comment/comment'); require('codemirror/addon/mode/overlay');
require('codemirror/addon/edit/closebrackets'); require('codemirror/addon/scroll/simplescrollbars');
require('codemirror/addon/search/jump-to-line');
require('codemirror/addon/search/search'); require('codemirror/addon/search/search');
require('codemirror/addon/search/searchcursor'); require('codemirror/addon/search/searchcursor');
require('codemirror/addon/search/jump-to-line'); require('codemirror/keymap/sublime');
require('codemirror/addon/dialog/dialog');
require('codemirror-graphql/hint'); require('codemirror-graphql/hint');
require('codemirror-graphql/lint');
require('codemirror-graphql/info'); require('codemirror-graphql/info');
require('codemirror-graphql/jump'); require('codemirror-graphql/jump');
require('codemirror-graphql/lint');
require('codemirror-graphql/mode'); require('codemirror-graphql/mode');
require('utils/codemirror/brunoVarInfo'); require('utils/codemirror/brunoVarInfo');