Skip to content

Fix/wakape/unify format rules#1076

Merged
Wakai111 merged 16 commits intodevelopfrom
fix/wakape/unify-format-rules
Mar 28, 2026
Merged

Fix/wakape/unify format rules#1076
Wakai111 merged 16 commits intodevelopfrom
fix/wakape/unify-format-rules

Conversation

@Wakai111
Copy link
Copy Markdown
Collaborator

@Wakai111 Wakai111 commented Mar 27, 2026

対応Issue

resolve #0

概要

フォーマットルールの統一と自動コミット設定の修正を行いました。

1. Prettier設定の統一

  • package.json 内に記述されていた Prettier の設定を削除し、prettier.config.js のみしました。
  • prettier.config.jsの内容をpackage.jsonのものに近づけました。
  • eslint.config.mjseslint-config-prettier を導入し、ESLintがPrettierのスタイル(クォート等)を上書きしないよう修正しました。

2. GitHub Actions (auto-build.yml) の修正

  • mainへマージする際に行われていた git-auto-commit-action を削除しました。

3. コード整形(ローカルでの実行)

  • pnpm run format および pnpm run lint:fix をローカル上で実行しました。

修正対象ファイル

  • view/next-project/package.json:重複設定の削除
  • view/next-project/prettier.config.js:ルールの一本化
  • view/next-project/eslint.config.mjs:競合回避設定の追加
  • .github/workflows/auto-build.yml:CIフローの整理
  • view/next-project/pnpm-lock.yaml:依存関係の最適化

画面スクリーンショット等

テスト項目

  • pnpm run format および pnpm run lint:fix が 動作することを確認
  • view/next-project ディレクトリにて pnpm run build が成功することを確認

備考

@github-actions github-actions Bot added the bug Something isn't working label Mar 27, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 27, 2026

Deploying finansu with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3c985e6
Status: ✅  Deploy successful!
Preview URL: https://8dfe5fc6.finansu.pages.dev
Branch Preview URL: https://fix-wakape-unify-format-rule.finansu.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request downgrades prettier-plugin-tailwindcss from version 0.7.2 to 0.2.8 and migrates the Prettier configuration from package.json to an updated prettier.config.js. These changes result in extensive reformatting of Tailwind CSS class strings across numerous UI components, including adjustments to line breaks and quoting styles. I have no feedback to provide as no review comments were submitted.

@Wakai111 Wakai111 force-pushed the fix/wakape/unify-format-rules branch from e821af2 to 3c985e6 Compare March 28, 2026 14:04
Copy link
Copy Markdown
Collaborator

@hikahana hikahana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一旦LGTM
linter変えるとかは別の機会で

- name: Lint
working-directory: view/next-project
run: pnpm run lint:fix
- uses: stefanzweifel/git-auto-commit-action@v7
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このアクション消しちゃうとコミットされなくなっちゃうくない?

@Wakai111 Wakai111 merged commit 48e42b4 into develop Mar 28, 2026
4 checks passed
@Wakai111 Wakai111 deleted the fix/wakape/unify-format-rules branch March 28, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants