File tree Expand file tree Collapse file tree 7 files changed +789
-226
lines changed
Expand file tree Collapse file tree 7 files changed +789
-226
lines changed Original file line number Diff line number Diff line change 11{
22 "plugins" : [
3- " unicorn "
3+ " import "
44 ],
55 "rules" : {
6- "unicorn/prefer -node-protocol" : " error"
6+ "import/enforce -node-protocol-usage " : [ " error" , " always " ]
77 }
88}
Original file line number Diff line number Diff line change 11{
22 "plugins" : [
3- " unicorn "
3+ " import "
44 ],
55 "rules" : {
6- "unicorn/prefer -node-protocol" : " error"
6+ "import/enforce -node-protocol-usage " : [ " error" , " always " ]
77 }
88}
Original file line number Diff line number Diff line change 2828 "dugite" : " ^2.7.1" ,
2929 "eslint" : " ^8.57.1" ,
3030 "eslint-config-standard" : " ^17.1.0" ,
31- "eslint-plugin-import" : " ^2.30 .0" ,
31+ "eslint-plugin-import" : " ^2.32 .0" ,
3232 "eslint-plugin-mocha" : " ^10.5.0" ,
3333 "eslint-plugin-n" : " ^16.6.2" ,
3434 "eslint-plugin-node" : " ^11.1.0" ,
3535 "eslint-plugin-promise" : " ^6.6.0" ,
3636 "eslint-plugin-standard" : " ^5.0.0" ,
37- "eslint-plugin-unicorn" : " ^55.0.0" ,
3837 "events" : " ^3.2.0" ,
3938 "folder-hash" : " ^2.1.1" ,
4039 "got" : " ^11.8.5" ,
Original file line number Diff line number Diff line change 11{
22 "plugins" : [
3- " unicorn "
3+ " import "
44 ],
55 "rules" : {
6- "unicorn/prefer -node-protocol" : " error"
6+ "import/enforce -node-protocol-usage " : [ " error" , " always " ]
77 }
88}
Original file line number Diff line number Diff line change 1111 "WebView" : true
1212 },
1313 "plugins" : [
14- " mocha " ,
15- " unicorn "
14+ " import " ,
15+ " mocha "
1616 ],
1717 "rules" : {
1818 "mocha/no-exclusive-tests" : " error" ,
19- "unicorn/prefer -node-protocol" : " error"
19+ "import/enforce -node-protocol-usage " : [ " error" , " always " ]
2020 }
2121}
Original file line number Diff line number Diff line change 3333 systemVersion : invoke ( ( ) => process . getSystemVersion ( ) ) ,
3434 cpuUsage : invoke ( ( ) => process . getCPUUsage ( ) ) ,
3535 uptime : invoke ( ( ) => process . uptime ( ) ) ,
36- // eslint-disable-next-line unicorn/prefer -node-protocol
36+ // eslint-disable-next-line import/enforce -node-protocol-usage
3737 nodeEvents : invoke ( ( ) => require ( 'events' ) === require ( 'node:events' ) ) ,
38- // eslint-disable-next-line unicorn/prefer -node-protocol
38+ // eslint-disable-next-line import/enforce -node-protocol-usage
3939 nodeTimers : invoke ( ( ) => require ( 'timers' ) === require ( 'node:timers' ) ) ,
40- // eslint-disable-next-line unicorn/prefer -node-protocol
40+ // eslint-disable-next-line import/enforce -node-protocol-usage
4141 nodeUrl : invoke ( ( ) => require ( 'url' ) === require ( 'node:url' ) ) ,
4242 env : process . env ,
4343 execPath : process . execPath ,
You can’t perform that action at this time.
0 commit comments