Skip to content

Commit b6c7658

Browse files
authored
Initial commit
0 parents  commit b6c7658

197 files changed

Lines changed: 6821 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.commitlintrc.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
extends:
2+
- "@commitlint/config-conventional"

‎.cruft.json‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"template": "https://github.com/mrsimonemms/new",
3+
"commit": "ccb0a0ec3ed062fc1c29628a37ffd80904d2011a",
4+
"checkout": null,
5+
"context": {
6+
"cookiecutter": {
7+
"project_name": "new",
8+
"description": "How I scaffold my projects",
9+
"author": "Simon Emms <simon@simonemms.com>",
10+
"_template": "https://github.com/mrsimonemms/new",
11+
"_commit": "ccb0a0ec3ed062fc1c29628a37ffd80904d2011a"
12+
}
13+
},
14+
"directory": "blank",
15+
"skip": [
16+
".git"
17+
]
18+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"features": {
3+
"ghcr.io/devcontainers-extra/features/cookiecutter:2": {
4+
"version": "2.0.18",
5+
"resolved": "ghcr.io/devcontainers-extra/features/cookiecutter@sha256:7d15df751e02909fa9fb48e94b3132d8e2aed3dbc8585186cc4b9260aed90ec3",
6+
"integrity": "sha256:7d15df751e02909fa9fb48e94b3132d8e2aed3dbc8585186cc4b9260aed90ec3"
7+
}
8+
}
9+
}

‎.devcontainer/devcontainer.json‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"image": "ghcr.io/mrsimonemms/devcontainers/full",
3+
"name": "devcontainer",
4+
"features": {
5+
"ghcr.io/devcontainers-extra/features/cookiecutter:2": {}
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [],
10+
"settings": {}
11+
}
12+
}
13+
}

‎.editorconfig‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.go]
13+
indent_style = tab
14+
indent_size = 4
15+
16+
[Makefile]
17+
indent_style = tab
18+
indent_size = 4

‎.github/workflows/build.yml‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
workflow_dispatch:
10+
permissions: read-all
11+
jobs:
12+
commitlint:
13+
runs-on: ubuntu-latest
14+
env:
15+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
16+
steps:
17+
- uses: actions/checkout@v6
18+
with:
19+
fetch-depth: 0 # fetch-depth is required
20+
21+
- uses: wagoid/commitlint-github-action@v6
22+
23+
pre-commit:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v6
27+
28+
- uses: actions/setup-python@v6
29+
with:
30+
python-version: 3.x
31+
32+
- name: Set up Go
33+
uses: actions/setup-go@v6
34+
with:
35+
go-version: '>=1.20.0'
36+
37+
- uses: pre-commit/action@v3.0.1

‎.github/workflows/stale.yml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Close stale issues and PRs
2+
on:
3+
schedule:
4+
- cron: 0 2 * * *
5+
workflow_dispatch:
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- uses: actions/stale@v10
15+
with:
16+
days-before-stale: 60
17+
days-before-close: 7
18+
stale-issue-message: |
19+
This issue is stale because it has been open 60 days with no activity. It will be closed in 7 days if no further activity.
20+
stale-pr-message: |
21+
This PR is stale because it has been open 60 days with no activity. It will be closed in 7 days if no further activity.

‎.gitignore‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
dist
2+
tmp
3+
4+
node_modules
5+
6+
.idea
7+
.DS_Store
8+
Thumbs.db
9+
.commit
10+
.devbox
11+
.envrc

‎.markdownlint.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"MD007": {
3+
"indent": 2
4+
},
5+
"MD013": {
6+
"code_blocks": false,
7+
"tables": false
8+
},
9+
"MD032": false,
10+
"MD033": false,
11+
"default": true
12+
}

‎.pre-commit-config.yaml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: pretty-format-json
6+
args:
7+
- --autofix
8+
- --no-sort-keys
9+
exclude: ^js
10+
- id: check-json
11+
exclude: ^js
12+
- id: end-of-file-fixer
13+
- id: trailing-whitespace
14+
- id: end-of-file-fixer
15+
- id: trailing-whitespace
16+
- repo: https://github.com/compilerla/conventional-pre-commit
17+
rev: v4.0.0
18+
hooks:
19+
- id: conventional-pre-commit
20+
stages:
21+
- commit-msg
22+
- repo: https://github.com/trussworks/pre-commit-hooks
23+
rev: v2.0.0
24+
hooks:
25+
- id: markdown-toc
26+
- repo: https://github.com/DavidAnson/markdownlint-cli2
27+
rev: v0.17.2
28+
hooks:
29+
- id: markdownlint-cli2
30+
- repo: https://github.com/mrsimonemms/toodaloo
31+
rev: v0.2.4
32+
hooks:
33+
- id: scan

0 commit comments

Comments
 (0)