* fix https://github.com/yarnpkg/berry/issues/6270 and other `eslint.… #86
Annotations
18 errors and 10 warnings
codechecks
Process completed with exit code 1.
|
tsc
Argument of type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 290 more ...; focus: (options?: FocusOptions | undefined) => void; }[]' is not assignable to parameter of type 'HTMLElement[]'.
|
tsc
Cannot find module '../paginations/usePaginationButtons' or its corresponding type declarations.
|
tsc
Property '$route' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<__VLS_TypePropsToOption<{ page: string; uid: string; name: string; displayName: string; }>>>, { ...; }, ... 17 more ..., {}>'.
|
tsc
Type '{ errorCode: number; errorInfo: string | Record<string, unknown[]>; }' is not assignable to type 'ApiErrorClass | null'.
|
tsc
Module '"@/api"' has no exported member 'apiUsers'.
|
tsc
Property 'page' does not exist on type '{ readonly cursor: "/cursor"; }'.
|
tsc
Process completed with exit code 2.
|
eslint:
fe/src/App.vue#L40
Parse errors in imported module 'ant-design-vue/es/locale/zh_CN': parserPath or languageOptions.parser is required! (undefined:undefined)
|
eslint:
fe/src/components/Post/PostNav.vue#L56
Parse errors in imported module 'scroll-into-view-if-needed': parserPath or languageOptions.parser is required! (undefined:undefined)
|
eslint:
fe/src/components/Post/PostNav.vue#L73
Invalid type "string | number" of template literal expression
|
eslint:
fe/src/components/Post/PostNav.vue#L140
Invalid type "number" of template literal expression
|
eslint:
fe/src/components/Post/queryForm/QueryForm.vue#L342
Invalid type "number" of template literal expression
|
eslint:
fe/src/components/Post/queryForm/useQueryForm.ts#L20
The arrow function should be named
|
eslint:
fe/src/components/Post/queryForm/useQueryForm.ts#L32
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
|
eslint:
fe/src/components/Post/queryForm/useQueryForm.ts#L42
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
|
eslint:
fe/src/components/Post/queryForm/useQueryForm.ts#L60
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
|
eslint:
fe/src/components/Post/queryForm/useQueryForm.ts#L67
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
|
eslint:
fe/src/App.vue#L40
Parse errors in imported module 'ant-design-vue/es/locale/zh_CN': parserPath or languageOptions.parser is required! (undefined:undefined)
|
eslint:
fe/src/App.vue#L40
Parse errors in imported module 'ant-design-vue/es/locale/zh_CN': parserPath or languageOptions.parser is required! (undefined:undefined)
|
eslint:
fe/src/components/Post/PostNav.vue#L56
Parse errors in imported module 'scroll-into-view-if-needed': parserPath or languageOptions.parser is required! (undefined:undefined)
|
eslint:
fe/src/components/Post/PostNav.vue#L56
Parse errors in imported module 'scroll-into-view-if-needed': parserPath or languageOptions.parser is required! (undefined:undefined)
|
eslint:
fe/src/components/Post/renderers/RendererTable.vue#L54
'v-html' directive can lead to XSS attack
|
eslint:
fe/src/components/Post/renderers/RendererTable.vue#L74
'v-html' directive can lead to XSS attack
|
eslint:
fe/src/components/Post/renderers/list/ReplyItem.vue#L36
'v-html' directive can lead to XSS attack
|
eslint:
fe/src/components/Post/renderers/list/SubReplyGroup.vue#L26
'v-html' directive can lead to XSS attack
|
eslint:
fe/src/shared/tippy.ts#L1
Parse errors in imported module 'tippy.js': parserPath or languageOptions.parser is required! (undefined:undefined)
|
eslint:
fe/src/shared/tippy.ts#L1
Parse errors in imported module 'tippy.js': parserPath or languageOptions.parser is required! (undefined:undefined)
|