Skip to content

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

refactor: upgrade eslint and fix lint and type errors

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

Triggered via pull request August 15, 2024 15:49
Status Failure
Total duration 2m 24s
Artifacts

check.yml

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

Annotations

91 errors and 90 warnings
check (macos-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (macos-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (macos-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (macos-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (macos-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (macos-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (macos-latest, 22): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (macos-latest, 22): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (macos-latest, 22): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (macos-latest, 22): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (ubuntu-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (ubuntu-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (ubuntu-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (ubuntu-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (ubuntu-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (ubuntu-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (ubuntu-latest, 22): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (ubuntu-latest, 22): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (ubuntu-latest, 22): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (ubuntu-latest, 22): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (macos-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (macos-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (macos-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (macos-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (macos-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (macos-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (macos-latest, 20): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (macos-latest, 20): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (macos-latest, 20): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (macos-latest, 20): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (macos-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (macos-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (macos-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (macos-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (macos-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (macos-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (macos-latest, 18): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (macos-latest, 18): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (macos-latest, 18): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (macos-latest, 18): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (ubuntu-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (ubuntu-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (ubuntu-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (ubuntu-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (ubuntu-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (ubuntu-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (ubuntu-latest, 18): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (ubuntu-latest, 18): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (ubuntu-latest, 18): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (ubuntu-latest, 18): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (ubuntu-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (ubuntu-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (ubuntu-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (ubuntu-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (ubuntu-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (ubuntu-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (ubuntu-latest, 20): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (ubuntu-latest, 20): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (ubuntu-latest, 20): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (ubuntu-latest, 20): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (windows-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (windows-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (windows-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (windows-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (windows-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (windows-latest, 18): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (windows-latest, 18): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (windows-latest, 18): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (windows-latest, 18): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (windows-latest, 18): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (windows-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (windows-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (windows-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (windows-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (windows-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (windows-latest, 22): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (windows-latest, 22): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (windows-latest, 22): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (windows-latest, 22): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (windows-latest, 22): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check (windows-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L11
'app' is defined but never used
check (windows-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L11
'router' is defined but never used
check (windows-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L20
Unsafe assignment of an error typed value
check (windows-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L21
Unsafe assignment of an error typed value
check (windows-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L22
Unsafe assignment of an error typed value
check (windows-latest, 20): e2e/docs/.vuepress/theme/client/config.ts#L23
Unsafe assignment of an error typed value
check (windows-latest, 20): e2e/tests/imports/conditional-exports.spec.ts#L11
Functions that return promises must be async
check (windows-latest, 20): e2e/tests/imports/conditional-exports.spec.ts#L12
Functions that return promises must be async
check (windows-latest, 20): e2e/tests/router/navigate-by-link.spec.ts#L11
Template literal expression is unnecessary and can be simplified
check (windows-latest, 20): e2e/tests/router/navigate-by-link.spec.ts#L49
Template literal expression is unnecessary and can be simplified
check result
Process completed with exit code 1.
check (macos-latest, 22): packages/cli/src/cli.ts#L63
Unexpected console statement
check (macos-latest, 22): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 22): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 22): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 22): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (macos-latest, 22): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (macos-latest, 22): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (macos-latest, 22): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (macos-latest, 22): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (macos-latest, 22): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (ubuntu-latest, 22): packages/cli/src/cli.ts#L63
Unexpected console statement
check (ubuntu-latest, 22): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 22): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 22): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 22): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (ubuntu-latest, 22): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (ubuntu-latest, 22): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (ubuntu-latest, 22): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (ubuntu-latest, 22): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (ubuntu-latest, 22): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (macos-latest, 20): packages/cli/src/cli.ts#L63
Unexpected console statement
check (macos-latest, 20): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 20): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 20): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 20): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (macos-latest, 20): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (macos-latest, 20): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (macos-latest, 20): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (macos-latest, 20): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (macos-latest, 20): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (macos-latest, 18): packages/cli/src/cli.ts#L63
Unexpected console statement
check (macos-latest, 18): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 18): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 18): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (macos-latest, 18): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (macos-latest, 18): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (macos-latest, 18): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (macos-latest, 18): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (macos-latest, 18): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (macos-latest, 18): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (ubuntu-latest, 18): packages/cli/src/cli.ts#L63
Unexpected console statement
check (ubuntu-latest, 18): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 18): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 18): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 18): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (ubuntu-latest, 18): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (ubuntu-latest, 18): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (ubuntu-latest, 18): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (ubuntu-latest, 18): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (ubuntu-latest, 18): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (ubuntu-latest, 20): packages/cli/src/cli.ts#L63
Unexpected console statement
check (ubuntu-latest, 20): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 20): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 20): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (ubuntu-latest, 20): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (ubuntu-latest, 20): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (ubuntu-latest, 20): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (ubuntu-latest, 20): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (ubuntu-latest, 20): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (ubuntu-latest, 20): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (windows-latest, 18): packages/cli/src/cli.ts#L63
Unexpected console statement
check (windows-latest, 18): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 18): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 18): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 18): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (windows-latest, 18): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (windows-latest, 18): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (windows-latest, 18): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (windows-latest, 18): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (windows-latest, 18): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (windows-latest, 22): packages/cli/src/cli.ts#L63
Unexpected console statement
check (windows-latest, 22): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 22): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 22): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 22): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (windows-latest, 22): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (windows-latest, 22): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (windows-latest, 22): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (windows-latest, 22): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (windows-latest, 22): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'
check (windows-latest, 20): packages/cli/src/cli.ts#L63
Unexpected console statement
check (windows-latest, 20): packages/client/src/setupGlobalComputed.ts#L38
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 20): packages/client/src/setupGlobalComputed.ts#L41
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 20): packages/client/src/setupGlobalComputed.ts#L55
Unexpected dangling '_' in '_pageChunk'
check (windows-latest, 20): packages/client/types.d.ts#L1
Unexpected dangling '_' in '__VUEPRESS_VERSION__'
check (windows-latest, 20): packages/client/types.d.ts#L2
Unexpected dangling '_' in '__VUEPRESS_BASE__'
check (windows-latest, 20): packages/client/types.d.ts#L3
Unexpected dangling '_' in '__VUEPRESS_DEV__'
check (windows-latest, 20): packages/client/types.d.ts#L4
Unexpected dangling '_' in '__VUEPRESS_SSR__'
check (windows-latest, 20): packages/client/types.d.ts#L5
Unexpected dangling '_' in '__VUE_HMR_RUNTIME__'
check (windows-latest, 20): packages/client/types.d.ts#L6
Unexpected dangling '_' in '__VUE_OPTIONS_API__'