<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saitoayumu</author_name>
  <author_url>https://blog.hatena.ne.jp/saitoayumu/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
    <anon>バックエンド-Spring Boot</anon>
    <anon>バックエンド-Thymeleaf</anon>
    <anon>フロントエンド</anon>
    <anon>フロントエンド-Tailwind CSS</anon>
  </categories>
  <description>こんにちは。エキサイトでデザイナーをしている齋藤です。 前回、【JetBrains製エディタ対応】PrettierでTailwind CSSのclass名を規則的に自動ソーティングさせる と称して、IntelliJ IDEAでファイル保存時にPrettierを自動実行させる方法をご紹介しました。 前回の記事でご紹介した方法は、IntelliJ IDEAやVS Code特有の環境設定を用いたものでしたが、pre-commitを使用することでエディタに依存せずにPrettierを自動実行できることを業務の中で学びましたので共有します。 pre-commitとは 導入方法 開発環境 プロジェクトのデ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2024%2F06%2F24%2F125911&quot; title=&quot;pre-commitを使用してgit commit時にPrettierを実行させる - エキサイト TechBlog.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/saitoayumu/20240624/20240624110348.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-06-24 12:59:11</published>
  <title>pre-commitを使用してgit commit時にPrettierを実行させる</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2024/06/24/125911</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
