mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01: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:
@@ -3,11 +3,11 @@ import settings from '@overleaf/settings'
|
||||
import ProjectDetailsHandler from '../app/src/Features/Project/ProjectDetailsHandler.js'
|
||||
import mongodb from '../app/src/infrastructure/mongodb.js'
|
||||
import mongoose from '../app/src/infrastructure/Mongoose.js'
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import crypto from 'crypto'
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
import crypto from 'node:crypto'
|
||||
import fetch from 'node-fetch'
|
||||
import http from 'http'
|
||||
import http from 'node:http'
|
||||
import _ from 'lodash'
|
||||
|
||||
const { ObjectId } = mongodb
|
||||
|
||||
Reference in New Issue
Block a user