style: apply prefer-node-protocol lint rule (#5627)

it makes it perfectly clear that the package is a Node.js builtin module.
This commit is contained in:
LongYinan committed 2024-01-19 03:47:08 +00:00
1 parent 9d28eb530a
commit fa8655e43e
19 files changed
+37 -23

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
import { fileURLToPath } from 'node:url';
import { runCli } from '@magic-works/i18n-codegen';
import { fileURLToPath } from 'url';
runCli(
{
+2 -1
View File
@@ -1,5 +1,6 @@
import { fileURLToPath } from 'node:url';
import { runCli } from '@magic-works/i18n-codegen';
import { fileURLToPath } from 'url';
runCli(
{