diff --git a/package-lock.json b/package-lock.json index 9d90a365..f2bf42da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,7 @@ "eslint-plugin-react": "7.34.1", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-simple-import-sort": "12.0.0", - "eslint-plugin-unicorn": "51.0.1", + "eslint-plugin-unicorn": "52.0.0", "eslint-plugin-unused-imports": "3.1.0", "husky": "9.0.11", "lint-staged": "15.2.2", @@ -5347,9 +5347,9 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "51.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-51.0.1.tgz", - "integrity": "sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==", + "version": "52.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz", + "integrity": "sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", diff --git a/package.json b/package.json index 5d40fda5..88c95a48 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "eslint-plugin-react": "7.34.1", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-simple-import-sort": "12.0.0", - "eslint-plugin-unicorn": "51.0.1", + "eslint-plugin-unicorn": "52.0.0", "eslint-plugin-unused-imports": "3.1.0", "husky": "9.0.11", "lint-staged": "15.2.2", diff --git a/playwright-ct.config.ts b/playwright-ct.config.ts index a17d60be..4ef8f6e4 100644 --- a/playwright-ct.config.ts +++ b/playwright-ct.config.ts @@ -1,4 +1,4 @@ -import { resolve } from 'node:path'; +import path from 'node:path'; import { defineConfig, devices } from '@playwright/experimental-ct-react'; @@ -21,7 +21,7 @@ export default defineConfig({ resolve: { // Match "paths" in tsconfig.json alias: { - '~': resolve(import.meta.dirname, 'app'), + '~': path.resolve(import.meta.dirname, 'app'), }, }, },