Compare commits

..

3 Commits

7 changed files with 45 additions and 17 deletions

View File

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

2
.gitattributes vendored
View File

@ -1 +1 @@
* text=auto eol=lf linguist-detectable * text=auto eol=lf linguist-detectable

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules/
pnpm-lock.yaml

View File

@ -1,15 +1,18 @@
# @format
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.
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly autoupdate_schedule: quarterly
skip: [prettier]
default_language_version: default_language_version:
python: pypy3 python: pypy3
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 rev: v4.6.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
args: ["--markdown-linebreak-ext", "md"] args: ["--markdown-linebreak-ext", "md"]
@ -23,10 +26,12 @@ repos:
- id: detect-private-key - id: detect-private-key
- id: fix-byte-order-marker - id: fix-byte-order-marker
- repo: https://github.com/pre-commit/mirrors-prettier - repo: local
rev: "v3.0.3"
hooks: hooks:
- id: prettier - id: prettier
name: prettier
entry: pnpm exec prettier --cache --ignore-unknown --write
language: system
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python - repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.3" rev: "2.7.3"

7
.prettierrc Normal file
View File

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

View File

@ -1,3 +1,5 @@
<!-- @format -->
# 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 on [gitea.blesmrt.net](https://gitea.blesmrt.net/Mikaela),
@ -13,19 +15,22 @@ with:
[Forĝejo](https://git.piraattipuolue.fi/), presenting us in [Forĝejo](https://git.piraattipuolue.fi/), presenting us in
[PirateIRC](https://pirateirc.net/) and often communicating with the [PirateIRC](https://pirateirc.net/) and often communicating with the
upstream projects, our users or other Pirate Parties. upstream projects, our users or other Pirate Parties.
- Are you entitled to vote in Finland? Please consider [signing our online supporter card](https://puoluerekisteri.fi/#/puolue/51) so we can become a registered party again. It's free, doesn't bind you to anything and unlike with presidential elections, you can sign supporter cards to as many parties as you would like. - Are you entitled to vote in Finland? Please consider
[signing our online supporter card](https://puoluerekisteri.fi/#/puolue/51)
so we can become a registered party again. It's free, doesn't bind you to
anything and unlike with presidential elections, you can sign supporter
cards to as many parties as you would like.
- I am a [FluffyChat](https://gitlab.com/famedly/fluffychat/) moderator at - I am a [FluffyChat](https://gitlab.com/famedly/fluffychat/) moderator at
Matrix, helping when I can in the rooms and occassionally contributing to Matrix, helping when I can in the rooms and occassionally contributing to
documentation either within FluffyChat or wider Matrix ecosystem (where documentation either within FluffyChat or wider Matrix ecosystem (where some
some would swear that I am everywhere :wink:). I am also a Finnish would swear that I am everywhere :wink:). I am also a Finnish localizer for
localizer for FluffyChat and FluffyChat and [Nheko](https://github.com/Nheko-Reborn/nheko/).
[Nheko](https://github.com/Nheko-Reborn/nheko/).
- You may also find me in other projects reporting or commenting on issues, - You may also find me in other projects reporting or commenting on issues,
discussions, contributing to Finnish localisations or documentation discussions, contributing to Finnish localisations or documentation
(in-tree, wiki, or something else), chatting on project spaces regardless (in-tree, wiki, or something else), chatting on project spaces regardless of
of platform (maybe even as a moderator), advocating for a project in platform (maybe even as a moderator), advocating for a project in fitting
fitting situation or otherwise doing something small that needs doing such situation or otherwise doing something small that needs doing such as
as [occassional OpenStreetMap contribution](https://www.openstreetmap.org/user/Ciblia). [occassional OpenStreetMap contribution](https://www.openstreetmap.org/user/Ciblia).
## Personal repository summary ## Personal repository summary
@ -43,7 +48,7 @@ with:
- [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 As you may have noticed, I am not the person to ask for when you want a coder,
coder, but I may be the person for sysadmin tasks, software testing, but I may be the person for sysadmin tasks, software testing, documentation
documentation writer, link between your developers and community, or writer, link between your developers and community, or something more that
something more that doesn't fit small introduction or a neat box :smiley: doesn't fit small introduction or a neat box :smiley:

6
package.json Normal file
View File

@ -0,0 +1,6 @@
{
"devDependencies": {
"prettier": "3.3.2",
"prettier-plugin-sh": "0.14.0"
}
}