-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 スクリプトと設定ファイルのリファクタリングおよびドキュメントの更新 (#9)
* スクリプトと設定ファイルのリファクタリングおよびドキュメントの更新 * スクリプトと設定ファイルのリファクタリングおよびドキュメントの更新 * Refactor script and configuration files, and update documentation * Refactor git aliases in bashrc and zshrc * Refactor git aliases and add new feature branch alias * Add renovate.json configuration file * Add auto-assign workflow and configuration files * Add CODEOWNERS file for global owners and assign @tqer39 as the default owner for all files. * Add PULL_REQUEST_TEMPLATE.md file * Add cspell.json configuration file * Refactor auto-assign workflow configuration * Add .pre-commit-config.yaml file with pre-commit hooks for code quality checks and formatting * Add pre-commit workflow for code quality checks and formatting * Add .textlintrc configuration file for textlint rules * Add .textlintignore file to ignore certain files and directories for textlint rules * Refactor pre-commit configuration * Add support for JSON files in pre-commit hooks * Add .prettierrc configuration file for code formatting * Add .prettierignore file to exclude certain directories from code formatting * Refactor setup documentation and add high-level architecture diagram * Refactor bashrc and zshrc to use double quotes for file paths * Refactor setup script to use double quotes for file paths * Refactor cspell.json to add new words * Refactor cspell.json to add new words * Refactor cspell.json to add new words * Refactor generate_pr_description.py to add warning for breaking changes * Refactor setup script to fix installation of HackGenNerd Font * Fix symlink creation in setup script
- Loading branch information
Showing
19 changed files
with
366 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# global owners | ||
|
||
* @tqer39 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# About | ||
|
||
SSIA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
addAssignees: author |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Auto Assign | ||
|
||
on: | ||
pull_request: | ||
types: [opened, ready_for_review] | ||
|
||
jobs: | ||
add-reviews: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 2 | ||
steps: | ||
- name: Auto Assign | ||
uses: kentaro-m/[email protected] | ||
if: ${{ github.event.pull_request.assignee == null && join(github.event.pull_request.assignees) == '' }} | ||
with: | ||
configuration-path: .github/auto_assign.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: pre-commit | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
pre-commit: | ||
name: pre-commit | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: pre-commit | ||
uses: pre-commit/[email protected] | ||
with: | ||
extra_args: -a --show-diff-on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
# see https://pre-commit.com | ||
|
||
exclude: | | ||
(?x)^( | ||
.+/package.*.json | ||
)$ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
args: ['--maxkb=512'] | ||
- id: check-json | ||
- id: check-yaml | ||
- id: detect-aws-credentials | ||
args: [--allow-missing-credentials] | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
args: ['--fix=lf'] | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/streetsidesoftware/cspell-cli | ||
rev: v6.31.0 | ||
hooks: | ||
- id: cspell | ||
|
||
- repo: local | ||
hooks: | ||
- id: textlint | ||
name: textlint | ||
language: node | ||
types: [file] | ||
files: \.(txt|md|mdown|markdown)$ | ||
entry: textlint | ||
require_serial: false | ||
additional_dependencies: | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '[email protected]' | ||
- '[email protected]' | ||
|
||
- repo: https://github.com/koalaman/shellcheck-precommit | ||
rev: v0.9.0 | ||
hooks: | ||
- id: shellcheck | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v3.0.2 | ||
hooks: | ||
- id: prettier | ||
name: Format GitHub Actions workflow files | ||
types: | ||
- yaml | ||
- json | ||
|
||
- repo: https://github.com/renovatebot/pre-commit-hooks | ||
rev: 36.51.2 | ||
hooks: | ||
- id: renovate-config-validator | ||
files: renovate\.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**/.git/ | ||
**/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 80, | ||
"tabWidth": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.editorconfig | ||
.git/ | ||
.github/ | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.textlintcache | ||
.yamllint.yml | ||
cspell.json | ||
renovate.json | ||
tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"filters": { | ||
"comments": true | ||
}, | ||
"rules": { | ||
"no-dropping-the-ra": true, | ||
"textlint-rule-ja-no-space-between-full-width": true, | ||
"textlint-rule-no-dropping-the-ra": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | ||
"files": [ | ||
"**", | ||
".*/**" | ||
], | ||
"ignorePaths": [ | ||
".git", | ||
".gitignore" | ||
], | ||
"words": [ | ||
"aahl", | ||
"anyenv", | ||
"apdisk", | ||
"autoload", | ||
"automerge", | ||
"awscli", | ||
"checkwinsize", | ||
"chsh", | ||
"Consolas", | ||
"dearmor", | ||
"deskpad", | ||
"difftool", | ||
"dircolors", | ||
"direnv", | ||
"donotpresent", | ||
"dpkg", | ||
"ehthumbs", | ||
"elif", | ||
"encryptable", | ||
"esktop", | ||
"EUID", | ||
"fgrep", | ||
"fseventsd", | ||
"gchp", | ||
"gnewb", | ||
"GOPATH", | ||
"gpso", | ||
"gsts", | ||
"gstt", | ||
"gswc", | ||
"hackgen", | ||
"HACKGEN", | ||
"histappend", | ||
"hyperpower", | ||
"icns", | ||
"ignoredups", | ||
"ignorespace", | ||
"kentaro", | ||
"keymaps", | ||
"Keymaps", | ||
"keyrings", | ||
"lesspipe", | ||
"libcrypt", | ||
"libnotify", | ||
"linuxbrew", | ||
"Lucida", | ||
"Menlo", | ||
"msix", | ||
"nodenv", | ||
"oneline", | ||
"pcra", | ||
"pyenv", | ||
"rxvt", | ||
"SAVEHIST", | ||
"schelp", | ||
"setaf", | ||
"setf", | ||
"setopt", | ||
"shellcheck", | ||
"shellenv", | ||
"shlvl", | ||
"spctl", | ||
"SSIA", | ||
"stackdump", | ||
"statusline", | ||
"textlint", | ||
"textlintcache", | ||
"tfaa", | ||
"tfenv", | ||
"tfsl", | ||
"timemachine", | ||
"tqer", | ||
"vdir", | ||
"xclip", | ||
"xsel", | ||
"ZDHARMA", | ||
"zinit", | ||
"Zinit's" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.