diff --git a/apps/web/.eslintrc.js b/apps/web/.eslintrc.js index 64fa9cd..fa2f39f 100644 --- a/apps/web/.eslintrc.js +++ b/apps/web/.eslintrc.js @@ -7,6 +7,7 @@ module.exports = createConfig('next-typescript', { }, rules: { 'import/no-duplicates': 'off', + 'react/forbid-component-props': 'off', }, ignorePatterns: ['*.config.js', '.eslintrc.js'], }); diff --git a/apps/web/app/ius/[slug]/conditions/page.tsx b/apps/web/app/ius/[slug]/conditions/page.tsx index 9abc22d..e94bf69 100644 --- a/apps/web/app/ius/[slug]/conditions/page.tsx +++ b/apps/web/app/ius/[slug]/conditions/page.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/forbid-component-props */ import * as apiIUS from '@/api/ius/query'; import { Conditions } from '@/components/Conditions'; import type { PageProps } from '@/types/page'; diff --git a/apps/web/components/Conditions.tsx b/apps/web/components/Conditions.tsx index 95b5ed7..37a0e8b 100644 --- a/apps/web/components/Conditions.tsx +++ b/apps/web/components/Conditions.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/forbid-component-props */ import { Background } from 'ui'; type Props = { diff --git a/apps/web/components/Form/Header.tsx b/apps/web/components/Form/Header.tsx index 0bdf7ea..258108c 100644 --- a/apps/web/components/Form/Header.tsx +++ b/apps/web/components/Form/Header.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/forbid-component-props */ import Link from 'next/link'; import { Heading } from 'ui'; diff --git a/apps/web/components/Form/index.tsx b/apps/web/components/Form/index.tsx index 30b680c..2ae89c7 100644 --- a/apps/web/components/Form/index.tsx +++ b/apps/web/components/Form/index.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/forbid-component-props */ 'use client'; import { Buttons } from './Buttons'; import { FormContext, FormContextProvider } from './context/form-context';