chore(lint): switched to a better lint config

This commit is contained in:
Corentin Thomasset authored and Corentin THOMASSET committed 2023-05-28 23:29:14 +02:00
1 parent 4d2b037dbe
commit 33c9b6643f
178 files changed
+4105 -3371

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Text statistics',
path: '/text-statistics',
description: "Get information about a text, the amount of characters, the amount of words, it's size, ...",
description: 'Get information about a text, the amount of characters, the amount of words, it\'s size, ...',
keywords: ['text', 'statistics', 'length', 'characters', 'count', 'size', 'bytes'],
component: () => import('./text-statistics.vue'),
icon: FileText,
@@ -1,4 +1,4 @@
import { expect, describe, it } from 'vitest';
import { describe, expect, it } from 'vitest';
import { getStringSizeInBytes } from './text-statistics.service';
describe('text-statistics', () => {
@@ -1,3 +1,11 @@
<script setup lang="ts">
import { ref } from 'vue';
import { getStringSizeInBytes } from './text-statistics.service';
import { formatBytes } from '@/utils/convert';
const text = ref('');
</script>
<template>
<c-card>
<n-input v-model:value="text" type="textarea" placeholder="Your text..." rows="5" />
@@ -10,11 +18,3 @@
</div>
</c-card>
</template>
<script setup lang="ts">
import { formatBytes } from '@/utils/convert';
import { ref } from 'vue';
import { getStringSizeInBytes } from './text-statistics.service';
const text = ref('');
</script>