Compare commits

..

3 Commits

7 changed files with 44 additions and 24 deletions

View File

@ -9,8 +9,9 @@ indent_style = space
indent_size = 2
max_line_length = 78
[.prettierrc]
[*.json]
indent_style = tab
indent_size = tab
[{LICENSE,*.{markdown,md}}]
trim_trailing_whitespace = false

1
.npmrc Normal file
View File

@ -0,0 +1 @@
manage-package-manager-versions=true

View File

@ -1,5 +1,5 @@
# @format
# See https://pre-commit.com for more information
# See https://pre-commit.ci for more information
ci:
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs.
@ -8,7 +8,10 @@ ci:
skip: [prettier]
default_language_version:
python: pypy3
node: "lts"
# Remember .python-version !
python: "3.12"
ruby: ".ruby-version"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
@ -16,21 +19,39 @@ repos:
hooks:
- id: trailing-whitespace
args: ["--markdown-linebreak-ext", "md"]
- id: end-of-file-fixer
exclude_types: [svg, tsv]
#- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-xml
- id: destroyed-symlinks
- id: detect-private-key
- id: fix-byte-order-marker
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=auto]
- id: pretty-format-json
args:
# Remember also: --no-sort-keys
# ASCII excludes the älphäbet amongst others
[--autofix, --indent, "\t", --no-ensure-ascii]
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.6.1
hooks:
- id: check-pre-commit-ci-config
- repo: local
hooks:
- id: prettier
name: prettier
entry: corepack pnpm exec prettier --cache --ignore-unknown --write
entry: corepack pnpx prettier --cache --ignore-unknown --write
language: system
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python

1
.prettierignore Normal file
View File

@ -0,0 +1 @@
*.json

View File

@ -1,7 +0,0 @@
{
"insertPragma": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": ["prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
}

View File

@ -2,8 +2,11 @@
# Saluton kaj bonvenon al mian Forĝejo/Gitea-profilon!
My Forĝejo home is on [gitea.blesmrt.net](https://gitea.blesmrt.net/Mikaela),
but you may also be reading this on a mirror.
My Forĝejo home is currently within a slow-upon-need transition from
[gitea.blesmrt.net/Mikaela](https://gitea.blesmrt.net/Mikaela), to
[codeberg.org/Aminda](https://codeberg.org/Aminda), but you may also be
reading this on a different mirror. The links on my own repositories will try
to point to the main location.
Seeing that you are here, you must be looking for projects that I am active
with:
@ -40,15 +43,15 @@ with:
- [CV - public everything about everything version of my Curriculum Vitae](https://cv.aminda.eu/)
although employers and requesters will receive a more less verbose version
made in $\LaTeX$
- [ssh-allowed_signers - SSH keys I trust for signature verification](https://gitea.blesmrt.net/Mikaela/ssh-allowed_signers)
- [ssh-allowed_signers - SSH keys I trust for signature verification](https://codeberg.org/Aminda/ssh-allowed_signers)
- [pgp-alt-wot - older project for the same as above, but in PGP](https://gitea.blesmrt.net/mikaela/pgp-alt-wot),
I hope the SSH equivalent will replace it though
- [shell-things - my dotfiles](https://gitea.blesmrt.net/mikaela/shell-things)
that also contain config file samples (some usable directly)
- [shell-things - my dotfiles](https://codeberg.org/Aminda/shell-things) that
also contain config file samples (some usable directly)
- [gist - assortment of potentially useful boilerplate, config, documentation on random subjects or anything that may be useful for my personal documentation or things that just aren't big enough for their own repos](https://gitea.blesmrt.net/mikaela/gist).
The name comes from [GitHub gist](https://gist.github.com/).
As you may have noticed, I am not the person to ask for when you want a coder,
but I may be the person for sysadmin tasks, software testing, documentation
writer, link between your developers and community, or something more that
doesn't fit small introduction or a neat box :smiley:
doesn't fit small introduction or a neat box :smiley_cat:

View File

@ -1,7 +1,7 @@
{
"devDependencies": {
"prettier": "3.3.2",
"prettier-plugin-sh": "0.14.0"
"@aminda/global-prettier-config": "2024.28.4"
},
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
"packageManager": "pnpm@9.7.0+sha512.dc09430156b427f5ecfc79888899e1c39d2d690f004be70e05230b72cb173d96839587545d09429b55ac3c429c801b4dc3c0e002f653830a420fa2dd4e3cf9cf",
"prettier": "@aminda/global-prettier-config"
}