chore(lint): enable strict ESLint rules and fix unused-vars violations (F4.1)

Enable no-console (warn, allow error), @typescript-eslint/no-unused-vars
(warn, ignore _ prefix), and @typescript-eslint/no-explicit-any (warn).
Fix all 26 no-unused-vars violations across 9 files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-02-09 11:19:56 +01:00
parent 519fa3a8f4
commit 8700c253cd
9 changed files with 26 additions and 15 deletions

View File

@@ -81,7 +81,7 @@
</template>
<script setup>
import { ref, reactive, onMounted, watch, computed } from 'vue'
import { reactive, onMounted, watch, computed } from 'vue'
const props = defineProps({
customFields: {

View File

@@ -103,7 +103,7 @@
<script setup>
import { ref, onMounted } from 'vue'
const props = defineProps({
defineProps({
isOpen: {
type: Boolean,
default: false

View File

@@ -541,7 +541,7 @@ const getPieceTypeLabel = (id?: string) => {
return formatModelTypeOption(pieceTypeMap.value.get(id))
}
const getProductTypeLabel = (id?: string) => {
const _getProductTypeLabel = (id?: string) => {
if (!id) return ''
return formatModelTypeOption(productTypeMap.value.get(id))
}