style: lint fix

This commit is contained in:
zxc 2024-09-15 11:37:49 +08:00
parent 58e81c4227
commit 51ad1a8244
7 changed files with 16 additions and 20 deletions

View File

@ -42,7 +42,7 @@ module.exports = {
'default-case': 'error',
'consistent-this': ['error', '_this'],
'max-depth': ['error', 8],
'max-lines': ['error', 800],
'max-lines': ['error', 1000],
'no-multi-str': 'error',
'space-infix-ops': 'error',
'space-before-blocks': ['error', 'always'],

View File

@ -49,13 +49,10 @@
</template>
<script lang="ts" setup>
import { computed, onMounted, onUnmounted, ref } from 'vue'
import { computed, onMounted, onUnmounted, ref, watch, nextTick, onBeforeUnmount } from 'vue'
import Popover from './Popover.vue'
import Input from './Input.vue'
import Divider from './Divider.vue'
import { watch } from 'vue';
import { nextTick } from 'vue';
import { onBeforeUnmount } from 'vue';
interface SelectOption {
label: string

View File

@ -1,4 +1,3 @@
import { computed } from 'vue'
import { storeToRefs } from 'pinia'
import { nanoid } from 'nanoid'
import { useSlidesStore, useMainStore } from '@/store'

View File

@ -1,4 +1,4 @@
import * as echarts from 'echarts'
import type * as echarts from 'echarts'
import type { ChartData, ChartType } from '@/types/slides'
export interface ChartOptionPayload {