Apply prettier auto fixes

This commit is contained in:
Henrik HerHde Huettemann 2024-03-25 14:44:15 +01:00
parent fdf923f6b3
commit adc8cf3f40
Signed by: HueHe
GPG key ID: 68FE5FEEBF1EAF5B
6 changed files with 17 additions and 20 deletions

View file

@ -3,11 +3,11 @@ env:
node: true
mocha: true
parserOptions:
parser: "@typescript-eslint/parser"
parser: '@typescript-eslint/parser'
ecmaVersion: 2022
sourceType: module
plugins:
- "@typescript-eslint"
- '@typescript-eslint'
- prettier
extends:
- plugin:@typescript-eslint/recommended

View file

@ -27,7 +27,7 @@ Generate a Synapse homeserver config with the following command (you might chang
docker-compose run --rm -e SYNAPSE_SERVER_NAME=my.matrix.host -e SYNAPSE_REPORT_STATS=no synapse generate
```
To run the script without hitting rate limiting and activating an *Application Service* to send messages by different users with our desired timestamps, you MUST add the following options to the freshly generated `files/homeserver.yaml`. **Do not leave these in the production setup!**
To run the script without hitting rate limiting and activating an _Application Service_ to send messages by different users with our desired timestamps, you MUST add the following options to the freshly generated `files/homeserver.yaml`. **Do not leave these in the production setup!**
```yaml
rc_joins:
@ -109,7 +109,7 @@ Then you can restart with an empty but quite equal server, following the instruc
- Read-only attributes of channels not converted to power levels due to complexity
- Reactions:
- So far only reactions used in our chats have been translated
- Individual logos of *netzbegruenung* and *verdigado* have been replaced by a generic sunflower
- Individual logos of _netzbegruenung_ and _verdigado_ have been replaced by a generic sunflower
- Skin colour tones and genders have been ignored in the manual translation, using the neutral versions
- Discussions are not translated, yet, as they have a channel-like data structure which probably should be translated to threads
- Several state change events are not translated, as the previous state is unknown, but the final state should be equal

View file

@ -1,9 +1,9 @@
id: "rc2matrix migration"
url: "http://127.0.0.1:1234"
as_token: "30c05ae90a248a4188e620216fa72e349803310ec83e2a77b34fe90be6081f46" # Change me to something different and random
hs_token: "312df522183efd404ec1cd22d2ffa4bbc76a8c1ccf541dd692eef281356bb74e" # Change me to something different and random
sender_localpart: "_rc_migration_bot"
id: 'rc2matrix migration'
url: 'http://127.0.0.1:1234'
as_token: '30c05ae90a248a4188e620216fa72e349803310ec83e2a77b34fe90be6081f46' # Change me to something different and random
hs_token: '312df522183efd404ec1cd22d2ffa4bbc76a8c1ccf541dd692eef281356bb74e' # Change me to something different and random
sender_localpart: '_rc_migration_bot'
namespaces:
users:
users:
- exclusive: false
regex: "@.*"
regex: '@.*'

View file

@ -1,12 +1,11 @@
version: '3'
services:
synapse:
image: docker.io/matrixdotorg/synapse:v1.99.0@sha256:d67f79582f3dc053dfadb15c4c78b8f2623090da3c19fe60d3b6e66c65a7ca6f
# Since synapse does not retry to connect to the database, restart upon
# failure
restart: "no"
restart: 'no'
# See the readme for a full documentation of the environment settings
# NOTE: You must edit homeserver.yaml to use postgres, it defaults to sqlite
environment:
@ -45,5 +44,5 @@ services:
hostname: synapse-admin
image: awesometechnologies/synapse-admin:0.8.7@sha256:6193a821f0e5c74a06401c0d77a45a7ea1e3bec7e43f6233f78ee2c753599960
ports:
- "8080:80"
restart: "no"
- '8080:80'
restart: 'no'

View file

@ -8,8 +8,8 @@
"type": "git",
"url": "https://git.verdigado.com/NB-Public/rocketchat2matrix"
},
"engines" : {
"node" : ">=19.0.0"
"engines": {
"node": ">=19.0.0"
},
"lint-staged": {
"**/*.ts": [

View file

@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>renovate/config"
]
"extends": ["local>renovate/config"]
}