[web] Add prefer-node-protocol ESLint rule (#21523)
* Add `unicorn/prefer-node-protocol` * Revert non-web changes * Run `npm run lint:fix` (prefer-node-protocol) GitOrigin-RevId: c3cdd88ff9e6b3de6a4397d45935c4d026c1c1ed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { db } from '../app/src/infrastructure/mongodb.js'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
async function updateStringDates() {
|
||||
const users = db.users.find({
|
||||
|
||||
Reference in New Issue
Block a user