Rules
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
import fs from "fs"
export { promises } from "fs"
const fs = require("fs")
const fs = process.getBuiltinModule("fs")import fs from "node:fs"
export { promises } from "node:fs"
const fs = require("node:fs")
const fs = process.getBuiltinModule("node:fs")Popular · 1 of 1
Enforce using the node: protocol when importing Node.js builtin modules.
import fs from "fs"
export { promises } from "fs"
const fs = require("fs")
const fs = process.getBuiltinModule("fs")import fs from "node:fs"
export { promises } from "node:fs"
const fs = require("node:fs")
const fs = process.getBuiltinModule("node:fs")