♻️ Update eslint config (#1424)

This commit is contained in:
Luke Vella 2024-11-02 11:50:09 +00:00 committed by GitHub
parent 01396b6129
commit d55131c2ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
162 changed files with 337 additions and 266 deletions

View file

@ -1,5 +1,5 @@
import { i18nDefaultConfig, i18nInstance } from "../i18n";
import { EmailContext } from "../types";
import type { EmailContext } from "../types";
i18nInstance.init({
...i18nDefaultConfig,

View file

@ -9,7 +9,7 @@ import {
} from "@react-email/components";
import { Trans } from "react-i18next/TransWithoutContext";
import { EmailContext } from "../types";
import type { EmailContext } from "../types";
import { darkTextColor, fontFamily, Link, Text } from "./styled-components";
export interface EmailLayoutProps {

View file

@ -1,12 +1,13 @@
import type {
LinkProps,
SectionProps,
TextProps} from "@react-email/components";
import {
Button as UnstyledButton,
Heading as UnstyledHeading,
Link as UnstyledLink,
LinkProps,
Section as UnstyledSection,
SectionProps,
Text as UnstyledText,
TextProps,
Text as UnstyledText
} from "@react-email/components";
import type { EmailContext } from "../types";