mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 16:19:02 +02:00
[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,8 +1,8 @@
|
||||
import { db } from '../app/src/infrastructure/mongodb.js'
|
||||
import BatchedUpdateModule from './helpers/batchedUpdate.mjs'
|
||||
import mongodb from 'mongodb-legacy'
|
||||
import fs from 'fs'
|
||||
import { fileURLToPath } from 'url'
|
||||
import fs from 'node:fs'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
const { ObjectId } = mongodb
|
||||
const { batchedUpdate } = BatchedUpdateModule
|
||||
|
||||
Reference in New Issue
Block a user