diff --git a/.eslintrc.js b/.eslintrc.js index 6ae6087..7753207 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -11,4 +11,12 @@ module.exports = { rules: { "react/no-unescaped-entities": "off", }, + overrides: [ + { + files: ["*.ts", "*.tsx"], + rules: { + "no-undef": "off", + }, + }, + ], } diff --git a/.gitignore b/.gitignore index 1437c53..e221123 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ # next.js /.next/ /out/ +next-env.d.ts # production /build diff --git a/components/Accordion.jsx b/components/Accordion.tsx similarity index 98% rename from components/Accordion.jsx rename to components/Accordion.tsx index afdada5..9ff6db5 100644 --- a/components/Accordion.jsx +++ b/components/Accordion.tsx @@ -60,7 +60,7 @@ export default function Accordion({ job }) { dangerouslySetInnerHTML={{ __html: job.description }} />