Skip to content

Commit

Permalink
chore: format files
Browse files Browse the repository at this point in the history
`npm run format`
  • Loading branch information
lukemcdonald committed Aug 6, 2022
1 parent 2cda001 commit ab111bd
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 44 deletions.
10 changes: 5 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
*/
module.exports = {
extends: [
"@remix-run/eslint-config",
"@remix-run/eslint-config/node",
"@remix-run/eslint-config/jest-testing-library",
"prettier",
'@remix-run/eslint-config',
'@remix-run/eslint-config/node',
'@remix-run/eslint-config/jest-testing-library',
'prettier',
],
// we're using vitest which has a very similar API to jest
// (so the linting plugins work nicely), but it we have to explicitly
Expand All @@ -16,4 +16,4 @@ module.exports = {
version: 27,
},
},
};
}
19 changes: 16 additions & 3 deletions app/root.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
import type { ErrorBoundaryComponent, LinksFunction, LoaderFunction, MetaFunction } from "@remix-run/node";
import { json, redirect } from "@remix-run/node";
import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration, useCatch } from "@remix-run/react";
import type {
ErrorBoundaryComponent,
LinksFunction,
LoaderFunction,
MetaFunction,
} from '@remix-run/node'
import { json, redirect } from '@remix-run/node'
import {
Links,
LiveReload,
Meta,
Outlet,
Scripts,
ScrollRestoration,
useCatch,
} from '@remix-run/react'

import type { EntryProps, RequestInfo } from '~/types'
import { enhanceMeta } from '~/utils/meta'
Expand Down
6 changes: 3 additions & 3 deletions app/routes/$content.$slug.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { LoaderFunction, MetaFunction } from "@remix-run/node";
import { json } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import type { LoaderFunction, MetaFunction } from '@remix-run/node'
import { json } from '@remix-run/node'
import { useLoaderData } from '@remix-run/react'
import invariant from 'tiny-invariant'

import type { Content, RequestInfo } from '~/types'
Expand Down
6 changes: 3 additions & 3 deletions app/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { LoaderFunction, MetaFunction } from "@remix-run/node";
import { json } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import type { LoaderFunction, MetaFunction } from '@remix-run/node'
import { json } from '@remix-run/node'
import { useLoaderData } from '@remix-run/react'

import type { Content, RequestInfo } from '~/types'
import { getContent } from '~/modules/content'
Expand Down
54 changes: 25 additions & 29 deletions app/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -804,10 +804,6 @@ html:has(button[data-theme='orange']) {
border-width: 0;
}

.static {
position: static;
}

.fixed {
position: fixed;
}
Expand Down Expand Up @@ -941,14 +937,14 @@ html:has(button[data-theme='orange']) {
height: 1.5rem;
}

.h-5 {
height: 1.25rem;
}

.h-\[1\.15rem\] {
height: 1.15rem;
}

.h-5 {
height: 1.25rem;
}

.max-h-screen {
max-height: 100vh;
}
Expand Down Expand Up @@ -977,6 +973,10 @@ html:has(button[data-theme='orange']) {
width: 1.5rem;
}

.w-\[1\.15rem\] {
width: 1.15rem;
}

.w-5 {
width: 1.25rem;
}
Expand All @@ -985,10 +985,6 @@ html:has(button[data-theme='orange']) {
width: 11rem;
}

.w-\[1\.15rem\] {
width: 1.15rem;
}

.max-w-0 {
max-width: 0rem;
}
Expand Down Expand Up @@ -1083,6 +1079,10 @@ html:has(button[data-theme='orange']) {
border-radius: 0.125rem;
}

.rounded-full {
border-radius: 9999px;
}

.rounded-md {
border-radius: 0.375rem;
}
Expand All @@ -1091,10 +1091,6 @@ html:has(button[data-theme='orange']) {
border-radius: 0.25rem;
}

.rounded-full {
border-radius: 9999px;
}

.border-b-2 {
border-bottom-width: 2px;
}
Expand Down Expand Up @@ -1209,11 +1205,6 @@ html:has(button[data-theme='orange']) {
padding-bottom: 0.25rem;
}

.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}

.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
Expand All @@ -1224,6 +1215,11 @@ html:has(button[data-theme='orange']) {
padding-right: 0.5rem;
}

.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}

.pb-30vw {
padding-bottom: 30vw;
}
Expand Down Expand Up @@ -1348,14 +1344,14 @@ html:has(button[data-theme='orange']) {
opacity: 0.4;
}

.opacity-0 {
opacity: 0;
}

.opacity-100 {
opacity: 1;
}

.opacity-0 {
opacity: 0;
}

.mix-blend-lighten {
mix-blend-mode: lighten;
}
Expand Down Expand Up @@ -1434,14 +1430,14 @@ html:has(button[data-theme='orange']) {
transition-duration: 75ms;
}

.ease-out {
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in {
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.last\:hidden:last-child {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},

// Remix takes care of building everything in `remix build`.
"noEmit": true,
"noEmit": true
}
}

0 comments on commit ab111bd

Please sign in to comment.