Skip to content

Commit

Permalink
prettierを設定
Browse files Browse the repository at this point in the history
  • Loading branch information
shouichi committed Feb 5, 2024
1 parent 5e540cd commit bc4ba64
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Format Files

on:
- push

jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: yarn run prettier --check '**/**.{yml,md}'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ _site
.jekyll-cache
.jekyll-metadata
vendor

node_modules
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# anipos.github.io
# anipos.github.io
3 changes: 1 addition & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ description: >- # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://anipos.github.io" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: anipos_co_jp
github_username: anipos
github_username: anipos

# Build settings
theme: minima
Expand All @@ -35,7 +35,6 @@ plugins:
- jekyll-mentions
- jekyll-seo-tags
- jekyll-sitemap

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: "Rails 7.1で指定した範囲の行にあるテストを実行可能になりました"
title: "Rails 7.1で指定した範囲の行にあるテストを実行可能になりました"
author: "@shouichi"
date: 2024-02-02 17:26:14 +09:00
categories: rails
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"private": true,
"devDependencies": {
"prettier": "*"
}
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


prettier@*:
version "3.2.5"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"
integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==

0 comments on commit bc4ba64

Please sign in to comment.