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 = {
1818 } ,
1919 rules : {
2020 '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' ,
2525 'require-jsdoc' : 'off' ,
26- 'node /file-extension-in-import' : 'off' ,
26+ 'n /file-extension-in-import' : 'off' ,
2727 'prettier/prettier' : [
2828 'error' ,
2929 { } ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export async function loadMonacoEditor() {
4747 editorLoaded ||
4848 ( editorLoaded = new Promise ( ( resolve ) => {
4949 if ( typeof window !== 'undefined' ) {
50- // eslint-disable-next-line node /no-missing-require -- ignore
50+ // eslint-disable-next-line n /no-missing-require -- ignore
5151 window . require ( [ 'vs/editor/editor.main' ] , ( r ) => {
5252 resolve ( r ) ;
5353 } ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function deserializeState(serializedString) {
1818 try {
1919 const compressedString = window . atob ( serializedString ) ;
2020 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
2222 const jsonText = new TextDecoder ( ) . decode ( uint8Arr ) ;
2323 const json = JSON . parse ( jsonText ) ;
2424
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export function serializeState(state) {
2626 useEslintPluginSvelte3 : state . useEslintPluginSvelte3
2727 } ;
2828 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
3030 const uint8Arr = new TextEncoder ( ) . encode ( jsonString ) ;
3131 const compressedString = String . fromCharCode ( ...pako . deflate ( uint8Arr ) ) ;
3232 const base64 =
Original file line number Diff line number Diff line change 6363 "@changesets/changelog-github" : " ^0.4.8" ,
6464 "@changesets/cli" : " ^2.26.1" ,
6565 "@changesets/get-release-plan" : " ^3.0.16" ,
66- "@ota-meshi/eslint-plugin" : " ^0.13.7 " ,
66+ "@ota-meshi/eslint-plugin" : " ^0.15.0 " ,
6767 "@types/benchmark" : " ^2.1.2" ,
6868 "@types/chai" : " ^4.3.5" ,
6969 "@types/eslint" : " ^8.40.1" ,
8686 "eslint-plugin-eslint-comments" : " ^3.2.0" ,
8787 "eslint-plugin-json-schema-validator" : " ^4.5.0" ,
8888 "eslint-plugin-jsonc" : " ^2.8.0" ,
89- "eslint-plugin-node " : " ^11 .1.0" ,
89+ "eslint-plugin-n " : " ^15 .1.0" ,
9090 "eslint-plugin-node-dependencies" : " ^0.11.0" ,
9191 "eslint-plugin-prettier" : " ^4.2.1" ,
9292 "eslint-plugin-regexp" : " ^1.15.0" ,
You can’t perform that action at this time.
0 commit comments