mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-25 20:27:44 +02:00
🎨 Add linting and prettier to more places (#1432)
This commit is contained in:
parent
de6963db4f
commit
ee68d80026
70 changed files with 136 additions and 141 deletions
|
@ -1,4 +1,2 @@
|
|||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = {
|
||||
...require("@rallly/eslint-config/preset")(__dirname),
|
||||
};
|
||||
module.exports = require("@rallly/eslint-config/preset")(__dirname);
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
import type {
|
||||
LinkProps,
|
||||
SectionProps,
|
||||
TextProps} from "@react-email/components";
|
||||
TextProps,
|
||||
} from "@react-email/components";
|
||||
import {
|
||||
Button as UnstyledButton,
|
||||
Heading as UnstyledHeading,
|
||||
Link as UnstyledLink,
|
||||
Section as UnstyledSection,
|
||||
Text as UnstyledText
|
||||
Text as UnstyledText,
|
||||
} from "@react-email/components";
|
||||
|
||||
import type { EmailContext } from "../types";
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
import { Trans } from "react-i18next/TransWithoutContext";
|
||||
|
||||
import type {
|
||||
NotificationBaseProps,
|
||||
} from "../components/notification-email";
|
||||
import type { NotificationBaseProps } from "../components/notification-email";
|
||||
import NotificationEmail from "../components/notification-email";
|
||||
import { Heading, Text } from "../components/styled-components";
|
||||
import type { EmailContext } from "../types";
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"resolveJsonModule": true,
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"files": ["i18next.d.ts"],
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules", ".react-email"],
|
||||
"exclude": ["node_modules", ".react-email"]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue