remove console print
CI / deploy (push) Has been cancelled
CI / eslint (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-03-16 23:06:19 +01:00
parent c81125fc53
commit 957d45344d
3 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ lint: node_modules ## lint code
@$(BUN) run lint
@$(BUN) run type-check
fix: node_modules ## fix and reformat code
format: node_modules ## fix and reformat code
@$(BUN) run format
@$(BUN) run lint-fix
+6
View File
@@ -21,4 +21,10 @@ export default defineConfigWithVueTs(
vueTsConfigs.strictTypeChecked,
vueTsConfigs.stylisticTypeChecked,
skipFormatting,
{
rules: {
"no-console": "error",
},
},
);
+1 -5
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, onMounted } from "vue";
import { computed } from "vue";
import * as icons from "lucide-vue-next";
interface Props {
@@ -25,10 +25,6 @@ function kebab2camel(kebab: string): string {
.join("");
}
onMounted(() => {
console.log(kebab2camel(props.name));
});
// @ts-expect-error: cannot infer type of all exported data
const icon = computed(() => icons[kebab2camel(props.name)]);
</script>