外觀
在導入 Node.js 內建模組時,優先使用 node:protocol
node:protocol
此規則的錯誤程式碼範例
import fs from "fs";
此規則的正確程式碼範例
import fs from "node:fs";