Commit 85953b6
feat: Biomeを導入してPrettierを置き換え (#21)
* feat: Biomeを導入してPrettierを置き換え
- @biomejs/biome v2.0.6を追加
- Prettierを削除してBiomeでフォーマットとリントを統合
- lint-stagedとpre-commitフックを更新
- コードスタイル設定(4スペース、120文字、ダブルクォート)を維持
- フォーマットとリントのパフォーマンスを向上
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* fix: Biomeリンターの警告を修正
- 未使用変数の修正(_errorに変更)
- リンター設定をwarnに変更してエラーを警告として表示
- 既存のコードスタイルを維持しつつビルドが通るように調整
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* feat: 型安全性向上とモダンなJavaScript記法の採用
- TypeScriptの厳密な型定義を追加(anyをすべて削除)
- String.prototype.matchAllとUnicodeフラグ(/u)を採用
- while文での代入式をfor...ofループに置き換え
- 絵文字の正規表現でUnicodeフラグを使用してサロゲートペア対応
- 非null assertion演算子を安全なnullish coalescing演算子に変更
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Apply suggestion from @azu
* feat: CIにBiomeリンターを追加
- npm testでBiomeのlintチェックを実行
- コード品質の向上とCI時の品質保証を強化
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent 7298ec0 commit 85953b6
File tree
12 files changed
+413
-198
lines changed- .githooks
- src
- rules
12 files changed
+413
-198
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments