style: apply prefer-node-protocol lint rule (#5627)

it makes it perfectly clear that the package is a Node.js builtin module.
This commit is contained in:
LongYinan
2024-01-19 03:47:08 +00:00
parent 9d28eb530a
commit fa8655e43e
19 changed files with 37 additions and 23 deletions

View File

@@ -1,3 +1,5 @@
import { resolve } from 'node:path';
import { skipOnboarding, test } from '@affine-test/kit/playwright';
import {
addUserToWorkspace,
@@ -16,7 +18,6 @@ import { clickUserInfoCard } from '@affine-test/kit/utils/setting';
import { clickSideBarSettingButton } from '@affine-test/kit/utils/sidebar';
import { createLocalWorkspace } from '@affine-test/kit/utils/workspace';
import { expect } from '@playwright/test';
import { resolve } from 'path';
let user: {
id: string;