A starter template for my repositories.
- Shell 100%
|
|
||
|---|---|---|
| .cspell | ||
| .github | ||
| .hooks/git | ||
| .vscode | ||
| scripts | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitconfig | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .prettierignore | ||
| .prettierrc.mjs | ||
| .shellcheckrc | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| cspell.json | ||
| LICENSE.md | ||
| README.md | ||
| SECURITY.md | ||
Repository Template
A starter template for my repositories.
Table of Contents
About
This template repository is set up to support the following:
- Git (obviously)
- A .gitattributes file has been pre-configured to treat
all files as text with Unix-style (LF) line endings except for
.cmdand.batfiles. These files are treated as text files with Windows-style (CRLF) line endings. - A .gitignore file has been pre-configured to ignore most
Visual Studio Code files except
extensions.json,tasks.json,launch.json, and any.code-snippetsfiles. It also ignores any Vim-related files, log files (*.log*), and local environment files (.env*). - A .gitconfig file has been pre-configured to support
properly managing line endings inside the repository using the correct
core.autocrlfsetting (false).
- A .gitattributes file has been pre-configured to treat
all files as text with Unix-style (LF) line endings except for
pre-commit- .pre-commit-config.yaml file is provided with some relatively sane default hooks. Feel free to adjust to your liking.
- EditorConfig
- A pre-configured
.editorconfigfile is provided which treats all files as UTF-8 encoded files with Unix-style (LF) line endings except for.cmdand.batfiles. Those are have Windows-style (CRLF) line endings. - Additionally all files are indented with spaces, 4 per indentation level,
except
.yamlor.ymlfiles. Those are indented with 2 spaces per indentation level. - The file is pre-configured to insert a final newline as per the POSIX standard.
- Finally, the file is configured to trim trailing whitespace.
- A pre-configured
- Visual Studio Code
- GitHub
- GitHub Pull Requests
- GitHub Actions
- CSpell Spell Checker
- A cspell.json is pre-configured to be read-only and use a set of project-specific dictionary provided at .cspell/dictionaries/project.txt.
- The above mentioned dictionary configurations are located at .cspell/configs/.
Setup
- Run
./scripts/setup-git-hooks.shto install Git hooks into your local Git configuration (includingpre-commit).
- Done
- Set up GitHub labels from the
.github/labels.yamlfile (if applicable).
- Done
- Set up GitHub rulesets from the files inside
.github/samples/rulesets(if applicable).
- Done
- Update GitHub Dependabot setup (if applicable).
- Done
- Enable VSCode integrations.
- Done
- Update the following files:
README.md- Update the title.
- Update the description.
- Remove everything else except license.
LICENSE.md- Change license to your project license.
CONTRIBUTING.md- Update code style guidelines (if applicable).
CODE_OF_CONDUCT.md- Update project administrators (if applicable).
SECURITY.md- Update where to report security vulnerabilities.
- Update support versions table.
.cspell/dictionaries/project.txt- Remove all words and add those you do need.
.github/FUNDING.yml- Add your funding information (if applicable).
.github/CODEOWNERS- Set your code owners (if applicable).
- Good to go!
- Yay!
License
Copyright (c) 2025 to present G'lek Tarssza
Licensed under a customized MIT license.
See LICENSE.md for the full license.