Skip to content

refactor: upgrade eslint and fix lint and type errors #2401

refactor: upgrade eslint and fix lint and type errors

refactor: upgrade eslint and fix lint and type errors #2401

Triggered via pull request August 16, 2024 02:11
Status Failure
Total duration 3m 44s
Artifacts

check.yml

on: pull_request
Matrix: check
check result
0s
check result
Fit to window
Zoom out
Zoom in

Annotations

64 errors
check (ubuntu-latest, 20): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 20): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 20): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (ubuntu-latest, 20): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 20): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (ubuntu-latest, 20): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 20)
Process completed with exit code 2.
check (ubuntu-latest, 18): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 18): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 18): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (ubuntu-latest, 18): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 18): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (ubuntu-latest, 18): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 18)
Process completed with exit code 2.
check (ubuntu-latest, 22): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 22): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 22): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (ubuntu-latest, 22): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 22): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (ubuntu-latest, 22): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (ubuntu-latest, 22)
Process completed with exit code 2.
check (windows-latest, 18): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 18): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 18): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (windows-latest, 18): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 18): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (windows-latest, 18): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 18)
Process completed with exit code 1.
check (windows-latest, 20): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 20): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 20): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (windows-latest, 20): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 20): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (windows-latest, 20): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 20)
Process completed with exit code 1.
check (macos-latest, 18): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 18): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 18): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (macos-latest, 18): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 18): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (macos-latest, 18): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 18)
Process completed with exit code 2.
check (macos-latest, 22): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 22): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 22): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (macos-latest, 22): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 22): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (macos-latest, 22): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 22)
Process completed with exit code 2.
check (macos-latest, 20): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 20): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 20): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (macos-latest, 20): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 20): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (macos-latest, 20): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (macos-latest, 20)
Process completed with exit code 2.
check (windows-latest, 22): packages/bundler-vite/src/build/build.ts#L17
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 22): packages/bundler-vite/src/dev.ts#L15
Argument of type 'ViteBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 22): packages/bundler-vite/src/plugins/vuepressMainPlugin.ts#L169
Type 'unknown' is not assignable to type 'string'.
check (windows-latest, 22): packages/bundler-webpack/src/build/build.ts#L30
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 22): packages/bundler-webpack/src/config/handleResolve.ts#L49
Argument of type 'unknown' is not assignable to parameter of type 'string | false | string[]'.
check (windows-latest, 22): packages/bundler-webpack/src/dev/dev.ts#L18
Argument of type 'WebpackBundlerOptions' is not assignable to parameter of type 'Record<string, unknown>'.
check (windows-latest, 22)
Process completed with exit code 1.
check result
Process completed with exit code 1.