Skip to content

Commit 0951635

Browse files
gn-t-kclaude
andcommitted
style: Biomeによる自動フォーマット適用
ESLint/Prettier設定からBiome設定への移行完了に伴い、 全ファイルにBiomeの統一フォーマットルールを適用。 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 72641f0 commit 0951635

31 files changed

+401
-425
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"recommendations": [
3-
"biomejs.biome"
4-
]
5-
}
2+
"recommendations": ["biomejs.biome"]
3+
}

.vscode/settings.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
{
2-
"cSpell.words": [
3-
"praha",
4-
"turborepo",
5-
"Turso"
6-
],
7-
"[json][javascript][javascriptreact][typescript][typescriptreact]": {
8-
"editor.defaultFormatter": "biomejs.biome",
9-
"editor.codeActionsOnSave": {
10-
"source.organizeImports.biome": "explicit",
11-
"source.fixAll.biome": "explicit"
12-
}
13-
}
2+
"cSpell.words": ["praha", "turborepo", "Turso"],
3+
"[json][javascript][javascriptreact][typescript][typescriptreact]": {
4+
"editor.defaultFormatter": "biomejs.biome",
5+
"editor.codeActionsOnSave": {
6+
"source.organizeImports.biome": "explicit",
7+
"source.fixAll.biome": "explicit"
8+
}
9+
}
1410
}

apps/dummy/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "dummy-app",
3-
"version": "0.1.0",
4-
"private": true,
5-
"scripts": {
6-
"build": "echo 'No build needed'",
7-
"lint": "echo 'No lint needed'",
8-
"type-check": "echo 'No type check needed'",
9-
"test": "echo 'No test needed'"
10-
}
11-
}
2+
"name": "dummy-app",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"build": "echo 'No build needed'",
7+
"lint": "echo 'No lint needed'",
8+
"type-check": "echo 'No type check needed'",
9+
"test": "echo 'No test needed'"
10+
}
11+
}

apps/web/next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { NextConfig } from 'next';
1+
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4-
/* config options here */
4+
/* config options here */
55
};
66

77
export default nextConfig;

apps/web/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
{
2-
"name": "@apps/web",
3-
"version": "0.1.0",
4-
"private": true,
5-
"type": "module",
6-
"scripts": {
7-
"build": "next build",
8-
"dev": "next dev",
9-
"start": "next start",
10-
"lint": "biome check .",
11-
"type-check": "tsc --noEmit",
12-
"test": "vitest"
13-
},
14-
"dependencies": {
15-
"next": "15.3.5",
16-
"react": "19.1.0",
17-
"react-dom": "19.1.0"
18-
},
19-
"devDependencies": {
20-
"@configs/next": "workspace:*",
21-
"@types/node": "22.10.6",
22-
"@types/react": "19.1.8",
23-
"@types/react-dom": "19.1.6",
24-
"typescript": "5.8.3",
25-
"vitest": "3.2.4"
26-
}
2+
"name": "@apps/web",
3+
"version": "0.1.0",
4+
"private": true,
5+
"type": "module",
6+
"scripts": {
7+
"build": "next build",
8+
"dev": "next dev",
9+
"start": "next start",
10+
"lint": "biome check .",
11+
"type-check": "tsc --noEmit",
12+
"test": "vitest"
13+
},
14+
"dependencies": {
15+
"next": "15.3.5",
16+
"react": "19.1.0",
17+
"react-dom": "19.1.0"
18+
},
19+
"devDependencies": {
20+
"@configs/next": "workspace:*",
21+
"@types/node": "22.10.6",
22+
"@types/react": "19.1.8",
23+
"@types/react-dom": "19.1.6",
24+
"typescript": "5.8.3",
25+
"vitest": "3.2.4"
26+
}
2727
}

apps/web/src/app/layout.tsx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
import type { Metadata } from 'next';
2-
import type { FC, PropsWithChildren } from 'react';
1+
import type { Metadata } from "next";
2+
import type { FC, PropsWithChildren } from "react";
33

44
export const metadata: Metadata = {
5-
title: 'Next Lift',
6-
description: 'ウェイトトレーニングの計画と記録を行うアプリケーション',
5+
title: "Next Lift",
6+
description: "ウェイトトレーニングの計画と記録を行うアプリケーション",
77
};
88

99
const Layout: FC<PropsWithChildren> = ({ children }) => {
10-
return (
11-
<html lang="ja">
12-
<body>
13-
{children}
14-
</body>
15-
</html>
16-
);
10+
return (
11+
<html lang="ja">
12+
<body>{children}</body>
13+
</html>
14+
);
1715
};
1816

1917
export default Layout;

apps/web/src/app/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import type { FC } from 'react';
1+
import type { FC } from "react";
22

33
const Page: FC = () => {
4-
return (
5-
<main>
6-
<h1>Next Lift</h1>
7-
<p>ウェイトトレーニングの計画と記録を行うアプリケーション</p>
8-
</main>
9-
);
4+
return (
5+
<main>
6+
<h1>Next Lift</h1>
7+
<p>ウェイトトレーニングの計画と記録を行うアプリケーション</p>
8+
</main>
9+
);
1010
};
1111

1212
export default Page;

apps/web/tsconfig.json

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
{
2-
"extends": "@configs/next/tsconfig/tsconfig.json",
3-
"compilerOptions": {
4-
"baseUrl": ".",
5-
"paths": {
6-
"@/*": ["./src/*"]
7-
}
8-
},
9-
"include": [
10-
"next-env.d.ts",
11-
"**/*.ts",
12-
"**/*.tsx",
13-
".next/types/**/*.ts"
14-
],
15-
"exclude": [
16-
"node_modules"
17-
]
2+
"extends": "@configs/next/tsconfig/tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": ".",
5+
"paths": {
6+
"@/*": ["./src/*"]
7+
}
8+
},
9+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
10+
"exclude": ["node_modules"]
1811
}

apps/web/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { next as default } from '@configs/next/vitest';
1+
export { next as default } from "@configs/next/vitest";

configs/common/package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"name": "@configs/common",
3-
"private": true,
4-
"type": "module",
5-
"exports": {
6-
"./tsconfig/tsconfig.json": "./src/tsconfig/tsconfig.json",
7-
"./vitest": {
8-
"types": "./src/vitest/vitest.config.ts",
9-
"import": "./dist/vitest/vitest.config.mjs"
10-
}
11-
},
12-
"files": [
13-
"dist",
14-
"src/tsconfig/tsconfig.json"
15-
],
16-
"scripts": {
17-
"build": "pkgroll",
18-
"lint": "biome check .",
19-
"type-check": "tsc --noEmit",
20-
"test": "echo 'No test needed'"
21-
},
22-
"dependencies": {
23-
"@tsconfig/strictest": "2.0.5",
24-
"vitest": "3.2.4"
25-
},
26-
"devDependencies": {
27-
"pkgroll": "2.13.1",
28-
"typescript": "5.8.3"
29-
}
2+
"name": "@configs/common",
3+
"private": true,
4+
"type": "module",
5+
"exports": {
6+
"./tsconfig/tsconfig.json": "./src/tsconfig/tsconfig.json",
7+
"./vitest": {
8+
"types": "./src/vitest/vitest.config.ts",
9+
"import": "./dist/vitest/vitest.config.mjs"
10+
}
11+
},
12+
"files": [
13+
"dist",
14+
"src/tsconfig/tsconfig.json"
15+
],
16+
"scripts": {
17+
"build": "pkgroll",
18+
"lint": "biome check .",
19+
"type-check": "tsc --noEmit",
20+
"test": "echo 'No test needed'"
21+
},
22+
"dependencies": {
23+
"@tsconfig/strictest": "2.0.5",
24+
"vitest": "3.2.4"
25+
},
26+
"devDependencies": {
27+
"pkgroll": "2.13.1",
28+
"typescript": "5.8.3"
29+
}
3030
}

0 commit comments

Comments
 (0)