From 0eaeee9151eb544bdef0952b60f160329dbd18fb Mon Sep 17 00:00:00 2001 From: adamz Date: Wed, 6 Sep 2023 02:46:12 -0400 Subject: [PATCH] lint --- src/components/HomepageFeatures/index.tsx | 25 ++++++++++++++--------- tailwind.config.js | 11 +++++----- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index e8a3b93..c518f3c 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -11,8 +11,8 @@ const FeatureList: FeatureItem[] = [ title: "Intuitive", description: ( <> - StateTree makes the standard declarative coding style more powerful. - It doesn't discard make you discard it. There's no Redux here. + StateTree makes the standard declarative coding style more powerful. It + doesn't discard make you discard it. There's no Redux here. ), }, @@ -20,8 +20,9 @@ const FeatureList: FeatureItem[] = [ title: "Powerful", description: ( <> - StateTree is both reactive and fully data driven. - It supports deep linking across any app states and enables state saving and replay out of the box. + StateTree is both reactive and fully data driven. It supports{" "} + deep linking across any app states and enables state saving and replay{" "} + out of the box. ), }, @@ -29,7 +30,11 @@ const FeatureList: FeatureItem[] = [ title: "Testable", description: ( <> -

The toughest testing problems are solved upfront. Side effects, dependencies, and lifecycles are easy to manage and deterministic to mock.

+

+ The toughest testing problems are solved upfront. Side effects,{" "} + dependencies, and lifecycles are easy to manage and + deterministic to mock. +

), }, @@ -38,8 +43,8 @@ const FeatureList: FeatureItem[] = [ function Feature({ title, description }: FeatureItem) { return (
-

{title}

-
{description}
+

{title}

+
{description}
); } @@ -47,9 +52,9 @@ function Feature({ title, description }: FeatureItem) { export default function HomepageFeatures(): JSX.Element { return (
- {FeatureList.map((props, idx) => ( - - ))} + {FeatureList.map((props, idx) => ( + + ))}
); } diff --git a/tailwind.config.js b/tailwind.config.js index 4a461fd..94f7632 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,7 +4,6 @@ const defaultTheme = require("tailwindcss/defaultTheme"); const CUSTOM = { color: { - "gray:": { 100: "#f5f6f7", 200: "#ebedf0", @@ -143,10 +142,10 @@ module.exports = { content: ["./src/**/*.{js,jsx,ts,tsx}"], theme: { screens: { - 'sm': '576px', - 'md': '800px', - 'lg': '996px', - 'xl': '1440px', + sm: "576px", + md: "800px", + lg: "996px", + xl: "1440px", }, fontFamily: { sans: ["Inter", ...defaultTheme.fontFamily.sans], @@ -183,7 +182,7 @@ module.exports = { aspectRatio: false, }, plugins: [ - require('@tailwindcss/aspect-ratio'), + require("@tailwindcss/aspect-ratio"), // ... ], };