We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c26b38f commit b67c686Copy full SHA for b67c686
2 files changed
.eslintrc.json
@@ -1,5 +1,6 @@
1
{
2
"extends": [
3
+ "eslint:recommended",
4
"next",
5
"next/core-web-vitals",
6
"prettier",
@@ -50,5 +51,9 @@
50
51
"@typescript-eslint/consistent-type-definitions": ["error", "type"]
52
}
53
- ]
54
+ ],
55
+ "env": {
56
+ "jest": true,
57
+ "es6": true
58
+ }
59
components/LocalizedLink.tsx
@@ -2,7 +2,7 @@ import { useMemo } from 'react';
import Link from 'next/link';
import { useLocale } from '@/hooks/useLocale';
import { linkWithLocale } from '@/util/linkWithLocale';
-import type { FC, ComponentProps } from 'react';
+import type { FC, ComponentProps, JSX } from 'react';
7
// This is a wrapper on HTML's `a` tag
8
const HtmlLink: FC<JSX.IntrinsicElements['a']> = ({ children, ...extra }) => (
0 commit comments