From 5db50339e04fbb59594df54bf2afc26f664ab91b Mon Sep 17 00:00:00 2001 From: Jonathan Gruber Date: Mon, 9 Oct 2023 13:09:45 +0200 Subject: [PATCH] fix(#222): add missing codemirror/addon/lint/lint import to fix GQL validation --- .../bruno-app/src/pageComponents/Index/index.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/bruno-app/src/pageComponents/Index/index.js b/packages/bruno-app/src/pageComponents/Index/index.js index f2620052d..234ee0f9a 100644 --- a/packages/bruno-app/src/pageComponents/Index/index.js +++ b/packages/bruno-app/src/pageComponents/Index/index.js @@ -14,24 +14,25 @@ const SERVER_RENDERED = typeof navigator === 'undefined' || global['PREVENT_CODE if (!SERVER_RENDERED) { require('codemirror/mode/javascript/javascript'); 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/fold/brace-fold'); require('codemirror/addon/fold/foldgutter'); - require('codemirror/addon/mode/overlay'); require('codemirror/addon/hint/show-hint'); - require('codemirror/keymap/sublime'); - require('codemirror/addon/comment/comment'); - require('codemirror/addon/edit/closebrackets'); + require('codemirror/addon/lint/lint'); + require('codemirror/addon/mode/overlay'); + require('codemirror/addon/scroll/simplescrollbars'); + require('codemirror/addon/search/jump-to-line'); require('codemirror/addon/search/search'); require('codemirror/addon/search/searchcursor'); - require('codemirror/addon/search/jump-to-line'); - require('codemirror/addon/dialog/dialog'); + require('codemirror/keymap/sublime'); require('codemirror-graphql/hint'); - require('codemirror-graphql/lint'); require('codemirror-graphql/info'); require('codemirror-graphql/jump'); + require('codemirror-graphql/lint'); require('codemirror-graphql/mode'); require('utils/codemirror/brunoVarInfo');