fix eslint errors

This commit is contained in:
Artur Agh
2024-01-23 11:51:03 +01:00
parent 6cbc874042
commit 6fa0d83f55
2 changed files with 2 additions and 3 deletions

View File

@@ -7,8 +7,6 @@ const config = {
plugins: ["@typescript-eslint"],
extends: [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
],
rules: {
// These opinionated rules are enabled in stylistic-type-checked above.
@@ -16,6 +14,7 @@ const config = {
"@typescript-eslint/array-type": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-explicit-any": "off",

View File

@@ -42,7 +42,7 @@ export function ModelSelector({ models, types, ...props }: ModelSelectorProps) {
<div className="grid gap-2">
<HoverCard openDelay={200}>
<HoverCardTrigger asChild>
<Label htmlFor="model">Selectionnez la taille d'etiquette</Label>
<Label htmlFor="model">{`Selectionnez la taille d'etiquette`}</Label>
</HoverCardTrigger>
<HoverCardContent
align="start"