mirror of
https://github.com/r2r90/canvas-label.git
synced 2025-12-17 05:29:27 +00:00
fix eslint errors
This commit is contained in:
@@ -7,8 +7,6 @@ const config = {
|
|||||||
plugins: ["@typescript-eslint"],
|
plugins: ["@typescript-eslint"],
|
||||||
extends: [
|
extends: [
|
||||||
"next/core-web-vitals",
|
"next/core-web-vitals",
|
||||||
"plugin:@typescript-eslint/recommended-type-checked",
|
|
||||||
"plugin:@typescript-eslint/stylistic-type-checked",
|
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
// These opinionated rules are enabled in stylistic-type-checked above.
|
// These opinionated rules are enabled in stylistic-type-checked above.
|
||||||
@@ -16,6 +14,7 @@ const config = {
|
|||||||
"@typescript-eslint/array-type": "off",
|
"@typescript-eslint/array-type": "off",
|
||||||
"@typescript-eslint/consistent-type-definitions": "off",
|
"@typescript-eslint/consistent-type-definitions": "off",
|
||||||
"@typescript-eslint/no-unsafe-assignment": "off",
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
||||||
|
"@typescript-eslint/no-unsafe-argument": "off",
|
||||||
"@typescript-eslint/no-unsafe-call": "off",
|
"@typescript-eslint/no-unsafe-call": "off",
|
||||||
"@typescript-eslint/no-unsafe-member-access": "off",
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
||||||
"@typescript-eslint/no-explicit-any": "off",
|
"@typescript-eslint/no-explicit-any": "off",
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export function ModelSelector({ models, types, ...props }: ModelSelectorProps) {
|
|||||||
<div className="grid gap-2">
|
<div className="grid gap-2">
|
||||||
<HoverCard openDelay={200}>
|
<HoverCard openDelay={200}>
|
||||||
<HoverCardTrigger asChild>
|
<HoverCardTrigger asChild>
|
||||||
<Label htmlFor="model">Selectionnez la taille d'etiquette</Label>
|
<Label htmlFor="model">{`Selectionnez la taille d'etiquette`}</Label>
|
||||||
</HoverCardTrigger>
|
</HoverCardTrigger>
|
||||||
<HoverCardContent
|
<HoverCardContent
|
||||||
align="start"
|
align="start"
|
||||||
|
|||||||
Reference in New Issue
Block a user