mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-27 10:06:16 -04:00
refactor(lint): linter auto fix
This commit is contained in:
parent
8e29a97404
commit
086d31eab5
54 changed files with 1122 additions and 1503 deletions
|
@ -1,10 +1,6 @@
|
|||
<template>
|
||||
<n-card>
|
||||
<n-form
|
||||
label-width="120"
|
||||
label-placement="left"
|
||||
:show-feedback="false"
|
||||
>
|
||||
<n-form label-width="120" label-placement="left" :show-feedback="false">
|
||||
<n-form-item label="Your string:">
|
||||
<n-input v-model:value="input" />
|
||||
</n-form-item>
|
||||
|
@ -50,7 +46,7 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import InputCopyable from "../../components/InputCopyable.vue";
|
||||
import InputCopyable from '../../components/InputCopyable.vue';
|
||||
|
||||
import {
|
||||
camelCase,
|
||||
|
@ -64,14 +60,13 @@ import {
|
|||
pathCase,
|
||||
sentenceCase,
|
||||
snakeCase,
|
||||
} from "change-case";
|
||||
|
||||
const input = ref('lorem ipsum dolor sit amet')
|
||||
} from 'change-case';
|
||||
|
||||
const input = ref('lorem ipsum dolor sit amet');
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.n-form-item {
|
||||
margin: 5px 0;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
@ -5,8 +5,21 @@ export const tool: ITool = {
|
|||
name: 'Case converter',
|
||||
path: '/case-converter',
|
||||
description: 'Change the case of a string and chose between different formats',
|
||||
keywords: ['case', 'converter', 'camelCase', 'capitalCase', 'constantCase', 'dotCase', 'headerCase', 'noCase', 'paramCase', 'pascalCase', 'pathCase', 'sentenceCase', 'snakeCase', ],
|
||||
keywords: [
|
||||
'case',
|
||||
'converter',
|
||||
'camelCase',
|
||||
'capitalCase',
|
||||
'constantCase',
|
||||
'dotCase',
|
||||
'headerCase',
|
||||
'noCase',
|
||||
'paramCase',
|
||||
'pascalCase',
|
||||
'pathCase',
|
||||
'sentenceCase',
|
||||
'snakeCase',
|
||||
],
|
||||
component: () => import('./case-converter.vue'),
|
||||
icon: LetterCaseToggle,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue