File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
explorer-v2/src/lib/scripts Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export async function loadMonacoEditor() {
47
47
editorLoaded ||
48
48
( editorLoaded = new Promise ( ( resolve ) => {
49
49
if ( typeof window !== 'undefined' ) {
50
- // eslint-disable-next-line node /no-missing-require -- ignore
50
+ // eslint-disable-next-line n /no-missing-require -- ignore
51
51
window . require ( [ 'vs/editor/editor.main' ] , ( r ) => {
52
52
resolve ( r ) ;
53
53
} ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function deserializeState(serializedString) {
18
18
try {
19
19
const compressedString = window . atob ( serializedString ) ;
20
20
const uint8Arr = pako . inflate ( Uint8Array . from ( compressedString , ( c ) => c . charCodeAt ( 0 ) ) ) ;
21
- // eslint-disable-next-line node /no-unsupported-features/node-builtins -- ignore
21
+ // eslint-disable-next-line n /no-unsupported-features/node-builtins -- ignore
22
22
const jsonText = new TextDecoder ( ) . decode ( uint8Arr ) ;
23
23
const json = JSON . parse ( jsonText ) ;
24
24
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export function serializeState(state) {
26
26
useEslintPluginSvelte3 : state . useEslintPluginSvelte3
27
27
} ;
28
28
const jsonString = JSON . stringify ( saveData ) ;
29
- // eslint-disable-next-line node /no-unsupported-features/node-builtins -- ignore
29
+ // eslint-disable-next-line n /no-unsupported-features/node-builtins -- ignore
30
30
const uint8Arr = new TextEncoder ( ) . encode ( jsonString ) ;
31
31
const compressedString = String . fromCharCode ( ...pako . deflate ( uint8Arr ) ) ;
32
32
const base64 =
You can’t perform that action at this time.
0 commit comments