File tree Expand file tree Collapse file tree 3 files changed +165
-119
lines changed
Expand file tree Collapse file tree 3 files changed +165
-119
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ export default [
370370 } ,
371371 } ,
372372 // Rules for build folder
373- ...compat . extends ( 'plugin:node /recommended' ) . map ( config => ( {
373+ ...compat . extends ( 'plugin:n /recommended' ) . map ( config => ( {
374374 ...config ,
375375 files : [ 'build/**/*' ] ,
376376 } ) ) ,
@@ -384,10 +384,10 @@ export default [
384384 } ,
385385 rules : {
386386 'no-console' : 'off' ,
387- 'node /no-unpublished-require' : 'off' ,
388- 'node /no-unsupported-features/node-builtins' : 'off' ,
389- 'node /shebang' : 'off' ,
390- 'node /no-unsupported-features/es-syntax' : 'off' ,
387+ 'n /no-unpublished-require' : 'off' ,
388+ 'n /no-unsupported-features/node-builtins' : 'off' ,
389+ 'n /shebang' : 'off' ,
390+ 'n /no-unsupported-features/es-syntax' : 'off' ,
391391 'spellcheck/spell-checker' : 'off' ,
392392 } ,
393393 } ,
Original file line number Diff line number Diff line change 119119 "eslint-plugin-jest" : " 27.6.0" ,
120120 "eslint-plugin-jest-formatting" : " 3.1.0" ,
121121 "eslint-plugin-jsx-a11y" : " 6.8.0" ,
122+ "eslint-plugin-n" : " ^17.0.0" ,
122123 "eslint-plugin-no-only-tests" : " catalog:" ,
123- "eslint-plugin-node" : " 11.1.0" ,
124124 "eslint-plugin-qunit" : " catalog:" ,
125125 "eslint-plugin-react" : " 7.33.2" ,
126126 "eslint-plugin-rulesdir" : " 0.2.2" ,
You can’t perform that action at this time.
0 commit comments