refactor(lint): linter auto fix

This commit is contained in:
Corentin Thomasset 2022-04-22 23:31:40 +02:00
parent 8e29a97404
commit 086d31eab5
No known key found for this signature in database
GPG key ID: DBD997E935996158
54 changed files with 1122 additions and 1503 deletions

View file

@ -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>

View file

@ -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,
};