Skip to content

Commit

Permalink
feat: add initial dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed Mar 16, 2024
0 parents commit 9f4965b
Show file tree
Hide file tree
Showing 27 changed files with 11,477 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
10 changes: 10 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[include]
path = ~/.gitconfig.local
[credential]
helper = osxkeychain
[init]
defaultBranch = main
[pull]
ff = only
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
6 changes: 6 additions & 0 deletions .gitconfig.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[user]
name = Alan Moore
email = [email protected]
signingkey = 12345678
[commit]
gpgsign = true
1 change: 1 addition & 0 deletions .github/husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no-install commitlint --edit "${1}"
1 change: 1 addition & 0 deletions .github/husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no-install lint-staged --config .github/lint-staged.js
5 changes: 5 additions & 0 deletions .github/lint-staged.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = {
'*.{css,htm,html,js,json,jsx,less,markdown,md,scss,ts,tsx,vue,yaml,yml}':
'prettier --write',
};
export default config;
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>vidavidorra/.github"]
}
20 changes: 20 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI/CD
on:
push:
branches:
- main
- beta
- renovate/**
pull_request: null
jobs:
lint-commit-messages:
uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@7cf5201e53e0e2c4daf7298cf97e5dab5d631c23 # v4.1.10
lint:
uses: vidavidorra/.github/.github/workflows/node-lint.yml@7cf5201e53e0e2c4daf7298cf97e5dab5d631c23 # v4.1.10
release:
uses: vidavidorra/.github/.github/workflows/release.yml@7cf5201e53e0e2c4daf7298cf97e5dab5d631c23 # v4.1.10
needs:
- lint-commit-messages
- lint
secrets:
privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }}
Loading

0 comments on commit 9f4965b

Please sign in to comment.