File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ module.exports = {
18
18
} ,
19
19
rules : {
20
20
'eslint-comments/no-unused-disable' : 'off' ,
21
- 'node /no-missing-import' : 'off' ,
22
- 'node /no-unpublished-require' : 'off' ,
23
- 'node /no-unpublished-import' : 'off' ,
24
- 'node /no-unsupported-features/es-syntax' : 'off' ,
21
+ 'n /no-missing-import' : 'off' ,
22
+ 'n /no-unpublished-require' : 'off' ,
23
+ 'n /no-unpublished-import' : 'off' ,
24
+ 'n /no-unsupported-features/es-syntax' : 'off' ,
25
25
'require-jsdoc' : 'off' ,
26
- 'node /file-extension-in-import' : 'off' ,
26
+ 'n /file-extension-in-import' : 'off' ,
27
27
'prettier/prettier' : [
28
28
'error' ,
29
29
{ } ,
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 =
Original file line number Diff line number Diff line change 63
63
"@changesets/changelog-github" : " ^0.4.8" ,
64
64
"@changesets/cli" : " ^2.26.1" ,
65
65
"@changesets/get-release-plan" : " ^3.0.16" ,
66
- "@ota-meshi/eslint-plugin" : " ^0.13.7 " ,
66
+ "@ota-meshi/eslint-plugin" : " ^0.15.0 " ,
67
67
"@types/benchmark" : " ^2.1.2" ,
68
68
"@types/chai" : " ^4.3.5" ,
69
69
"@types/eslint" : " ^8.40.1" ,
86
86
"eslint-plugin-eslint-comments" : " ^3.2.0" ,
87
87
"eslint-plugin-json-schema-validator" : " ^4.5.0" ,
88
88
"eslint-plugin-jsonc" : " ^2.8.0" ,
89
- "eslint-plugin-node " : " ^11 .1.0" ,
89
+ "eslint-plugin-n " : " ^15 .1.0" ,
90
90
"eslint-plugin-node-dependencies" : " ^0.11.0" ,
91
91
"eslint-plugin-prettier" : " ^4.2.1" ,
92
92
"eslint-plugin-regexp" : " ^1.15.0" ,
You can’t perform that action at this time.
0 commit comments