Skip to content

Commit 84c8045

Browse files
committed
chore: format code
1 parent 63f9ec1 commit 84c8045

File tree

33 files changed

+77
-76
lines changed

33 files changed

+77
-76
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ You can enter [unplugin-tailwindcss-mangle](./packages/unplugin-tailwindcss-mang
3030

3131
### NextJs
3232

33-
For users trying version `2.3.0` of `unplugin-tailwindcss-mangle`, it has been tested and confirmed to work in versions `14~15`. However, be aware that this package is no longer maintained, as the project is focused on `vitejs`.
33+
For users trying version `2.3.0` of `unplugin-tailwindcss-mangle`, it has been tested and confirmed to work in versions `14~15`. However, be aware that this package is no longer maintained, as the project is focused on `vitejs`.

apps/next-app/next.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// import process from 'node:process'
2-
const process = require('node:process')
31
const utwm = require('unplugin-tailwindcss-mangle/webpack')
42
// import utwm from 'unplugin-tailwindcss-mangle'
53

apps/next-app/pages/api/hello.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface Data {
66
}
77

88
export default function handler(
9-
req: NextApiRequest,
9+
_req: NextApiRequest,
1010
res: NextApiResponse<Data>,
1111
) {
1212
res.status(200).json({ name: 'John Doe' })

apps/remix-app/app/entry.server.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ export default function handleRequest(
2121
) {
2222
return isbot(request.headers.get('user-agent'))
2323
? handleBotRequest(
24-
request,
25-
responseStatusCode,
26-
responseHeaders,
27-
remixContext,
28-
)
24+
request,
25+
responseStatusCode,
26+
responseHeaders,
27+
remixContext,
28+
)
2929
: handleBrowserRequest(
30-
request,
31-
responseStatusCode,
32-
responseHeaders,
33-
remixContext,
34-
)
30+
request,
31+
responseStatusCode,
32+
responseHeaders,
33+
remixContext,
34+
)
3535
}
3636

3737
function handleBotRequest(

apps/remix-app/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"resolveJsonModule": true,
1212
"allowJs": true,
1313
"strict": true,
14-
"esModuleInterop": true,
15-
"isolatedModules": true,
1614

1715
// Remix takes care of building everything in `remix build`.
1816
"noEmit": true,
19-
"forceConsistentCasingInFileNames": true
17+
"esModuleInterop": true,
18+
"forceConsistentCasingInFileNames": true,
19+
"isolatedModules": true
2020
},
2121
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"]
2222
}

apps/solid-app/src/index.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
body {
66
margin: 0;
7-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
8-
'Droid Sans', 'Helvetica Neue', sans-serif;
7+
font-family:
8+
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
9+
'Helvetica Neue', sans-serif;
910
-webkit-font-smoothing: antialiased;
1011
-moz-osx-font-smoothing: grayscale;
1112
}

apps/vite-react/src/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { type ClassValue, clsx } from 'clsx'
1+
import type { ClassValue } from 'clsx'
2+
import { clsx } from 'clsx'
23
import { twMerge } from 'tailwind-merge'
34

45
export function cn(...inputs: ClassValue[]) {

apps/vite-svelte/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ If you have state that's important to retain within a component, consider creati
4343
// store.ts
4444
// An extremely simple external store
4545
import { writable } from 'svelte/store'
46+
4647
export default writable(0)
4748
```

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { icebreaker } from '@icebreakers/eslint-config'
22

33
export default icebreaker(
44
{
5-
ignores: ['**/fixtures/**'],
5+
ignores: ['**/fixtures/**', 'website/public/_pagefind'],
66
},
77
)

packages/config/test/config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { initConfig } from '@/config'
21
import fs from 'fs-extra'
32
import path from 'pathe'
3+
import { initConfig } from '@/config'
44

55
describe('config', () => {
66
it('init config', async () => {

0 commit comments

Comments
 (0)