diff --git a/docs/.vitepress/build-system/build.mts b/docs/.vitepress/build-system/build.mts index 79521b52b..9dce53faf 100644 --- a/docs/.vitepress/build-system/build.mts +++ b/docs/.vitepress/build-system/build.mts @@ -2,7 +2,7 @@ * Pre-build cjs packages that cannot be bundled well. */ import esbuild from 'esbuild' -import path from 'path' +import path from 'pathe' import fs from 'fs' import { fileURLToPath } from 'url' diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index c15f02336..77c052a58 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,6 +1,6 @@ import type { DefaultTheme } from 'vitepress' import { defineConfig } from 'vitepress' -import path from 'path' +import path from 'pathe' import { fileURLToPath } from 'url' import { viteCommonjs, vitePluginRequireResolve } from './vite-plugin.mjs' diff --git a/docs/.vitepress/vite-plugin.mts b/docs/.vitepress/vite-plugin.mts index ba1ca7db0..cd6811cb6 100644 --- a/docs/.vitepress/vite-plugin.mts +++ b/docs/.vitepress/vite-plugin.mts @@ -1,5 +1,5 @@ import type { UserConfig } from 'vitepress' -import path from 'path' +import path from 'pathe' import { fileURLToPath } from 'url' import esbuild from 'esbuild' type Plugin = Extract< diff --git a/lib/rules/order-in-components.js b/lib/rules/order-in-components.js index 38624d008..22d90920c 100644 --- a/lib/rules/order-in-components.js +++ b/lib/rules/order-in-components.js @@ -259,6 +259,7 @@ module.exports = { } /** + * @param {RuleFixer} fixer * @param {Property} propertyNode * @param {Property} unorderedPropertyNode */ diff --git a/package.json b/package.json index 8cb321f20..3c408bd3d 100644 --- a/package.json +++ b/package.json @@ -92,6 +92,7 @@ "markdownlint-cli": "^0.41.0", "mocha": "^10.3.0", "nyc": "^17.0.0", + "pathe": "^1.1.2", "prettier": "^3.2.5", "typescript": "^5.3.3", "vitepress": "^1.0.0-rc.42"