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 indent_size = 2
max_line_length = 78 max_line_length = 78
[.prettierrc] [*.json]
indent_style = tab indent_style = tab
indent_size = tab
[{LICENSE,*.{markdown,md}}] [{LICENSE,*.{markdown,md}}]
trim_trailing_whitespace = false 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: ci:
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
@ -8,7 +8,10 @@ ci:
skip: [prettier] skip: [prettier]
default_language_version: default_language_version:
python: pypy3 node: "lts"
# Remember .python-version !
python: "3.12"
ruby: ".ruby-version"
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
@ -16,21 +19,39 @@ repos:
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
args: ["--markdown-linebreak-ext", "md"] args: ["--markdown-linebreak-ext", "md"]
- id: end-of-file-fixer exclude_types: [svg, tsv]
#- id: end-of-file-fixer
- id: check-yaml - id: check-yaml
- id: check-added-large-files - id: check-added-large-files
- id: check-case-conflict - id: check-case-conflict
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable - id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-xml
- id: destroyed-symlinks - id: destroyed-symlinks
- id: detect-private-key - id: detect-private-key
- id: fix-byte-order-marker - 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 - repo: local
hooks: hooks:
- id: prettier - id: prettier
name: prettier name: prettier
entry: corepack pnpm exec prettier --cache --ignore-unknown --write entry: corepack pnpx prettier --cache --ignore-unknown --write
language: system language: system
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python - 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! # Saluton kaj bonvenon al mian Forĝejo/Gitea-profilon!
My Forĝejo home is on [gitea.blesmrt.net](https://gitea.blesmrt.net/Mikaela), My Forĝejo home is currently within a slow-upon-need transition from
but you may also be reading this on a mirror. [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 Seeing that you are here, you must be looking for projects that I am active
with: with:
@ -40,15 +43,15 @@ with:
- [CV - public everything about everything version of my Curriculum Vitae](https://cv.aminda.eu/) - [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 although employers and requesters will receive a more less verbose version
made in $\LaTeX$ 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), - [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 I hope the SSH equivalent will replace it though
- [shell-things - my dotfiles](https://gitea.blesmrt.net/mikaela/shell-things) - [shell-things - my dotfiles](https://codeberg.org/Aminda/shell-things) that
that also contain config file samples (some usable directly) 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). - [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/). 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, 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 but I may be the person for sysadmin tasks, software testing, documentation
writer, link between your developers and community, or something more that 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": { "devDependencies": {
"prettier": "3.3.2", "@aminda/global-prettier-config": "2024.28.4"
"prettier-plugin-sh": "0.14.0"
}, },
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a" "packageManager": "pnpm@9.7.0+sha512.dc09430156b427f5ecfc79888899e1c39d2d690f004be70e05230b72cb173d96839587545d09429b55ac3c429c801b4dc3c0e002f653830a420fa2dd4e3cf9cf",
"prettier": "@aminda/global-prettier-config"
} }