🎨 update eslint.config.js
This commit is contained in:
2
components.d.ts
vendored
2
components.d.ts
vendored
@@ -50,8 +50,6 @@ declare module 'vue' {
|
||||
CommentInput: typeof import('./src/components/CommentReply/src/CommentInput/CommentInput.vue')['default']
|
||||
CommentList: typeof import('./src/components/CommentReply/src/CommentList/CommentList.vue')['default']
|
||||
CommentReply: typeof import('./src/components/CommentReply/index.vue')['default']
|
||||
DivTextarea: typeof import('./src/components/MyUI/Textarea/DivTextarea.vue')['default']
|
||||
DownloadOutlined: typeof import('@ant-design/icons-vue')['DownloadOutlined']
|
||||
DynamicTitle: typeof import('./src/components/DynamicTitle/DynamicTitle.vue')['default']
|
||||
EffectsCard: typeof import('./src/components/EffectsCard/EffectsCard.vue')['default']
|
||||
Ellipsis: typeof import('./src/components/MyUI/Ellipsis/Ellipsis.vue')['default']
|
||||
|
@@ -24,9 +24,8 @@ export default [
|
||||
rules: {
|
||||
semi: "error",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
// "no-unused-vars": "off",
|
||||
// "@typescript-eslint/no-unused-vars": ["off"],
|
||||
"vue/multi-word-component-names": "off",
|
||||
'@typescript-eslint/no-unused-vars': ['error', {"argsIgnorePattern": "^_"}],
|
||||
}
|
||||
}
|
||||
];
|
||||
|
@@ -1,6 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, computed, watch, onMounted } from 'vue';
|
||||
import Tooltip from '../tooltip/Tooltip.vue';
|
||||
import { useResizeObserver } from '../utils';
|
||||
interface Props {
|
||||
maxWidth?: string | number // 文本最大宽度,单位 px
|
||||
|
1
src/types/comment.d.ts
vendored
1
src/types/comment.d.ts
vendored
@@ -28,7 +28,6 @@ interface CommentContent {
|
||||
}
|
||||
|
||||
export interface ReplyCommentParams {
|
||||
user_id: string,
|
||||
topic_id: string,
|
||||
content: string,
|
||||
images: string[],
|
||||
|
Reference in New Issue
Block a user