refactor: upgrade eslint and fix lint and type errors #2401
check.yml
on: pull_request
Matrix: check
check result
0s
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.
|