mirror of https://github.com/LemmyNet/lemmy
Prettier check (#2855)
* Adding prettier check to CI. * Running prettier on codebase.pull/2861/head
parent
ce5161d997
commit
69f179bd33
@ -1,10 +1,9 @@
|
||||
---
|
||||
name: Hexbear
|
||||
about: For hexbear issues
|
||||
title: ''
|
||||
title: ""
|
||||
labels: hexbear
|
||||
assignees: ''
|
||||
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
For hexbear-related issues
|
||||
|
@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
preset: "ts-jest",
|
||||
testEnvironment: "node",
|
||||
};
|
@ -1,16 +1,10 @@
|
||||
{
|
||||
"type": "Like",
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams"
|
||||
],
|
||||
"@context": ["https://www.w3.org/ns/activitystreams"],
|
||||
"id": "https://another_instance.gnusocial.test/activity/41362",
|
||||
"published": "2022-03-20T17:54:15+00:00",
|
||||
"actor": "https://another_instance.gnusocial.test/actor/43",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"cc": [
|
||||
"https://instance.gnusocial.test/actor/42"
|
||||
],
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"cc": ["https://instance.gnusocial.test/actor/42"],
|
||||
"object": "https://instance.gnusocial.test/object/note/1337"
|
||||
}
|
||||
|
@ -1,13 +1,9 @@
|
||||
{
|
||||
"id": "http://lemmy-alpha:8541/activities/lock/cb48761d-9e8c-42ce-aacb-b4bbe6408db2",
|
||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"object": "http://lemmy-alpha:8541/post/2",
|
||||
"cc": [
|
||||
"http://lemmy-alpha:8541/c/main"
|
||||
],
|
||||
"type": "Lock",
|
||||
"audience": "http://lemmy-alpha:8541/c/main"
|
||||
"id": "http://lemmy-alpha:8541/activities/lock/cb48761d-9e8c-42ce-aacb-b4bbe6408db2",
|
||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"object": "http://lemmy-alpha:8541/post/2",
|
||||
"cc": ["http://lemmy-alpha:8541/c/main"],
|
||||
"type": "Lock",
|
||||
"audience": "http://lemmy-alpha:8541/c/main"
|
||||
}
|
@ -1,25 +1,17 @@
|
||||
{
|
||||
"id": "http://lemmy-alpha:8541/activities/undo/d6066719-d277-4964-9190-4d6faffac286",
|
||||
"id": "http://lemmy-alpha:8541/activities/undo/d6066719-d277-4964-9190-4d6faffac286",
|
||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"object": {
|
||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"object": {
|
||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"object": "http://lemmy-alpha:8541/post/2",
|
||||
"cc": [
|
||||
"http://lemmy-alpha:8541/c/main"
|
||||
],
|
||||
"type": "Lock",
|
||||
"id": "http://lemmy-alpha:8541/activities/lock/08b6fd3e-9ef3-4358-a987-8bb641f3e2c3",
|
||||
"audience": "http://lemmy-alpha:8541/c/main"
|
||||
},
|
||||
"cc": [
|
||||
"http://lemmy-alpha:8541/c/main"
|
||||
],
|
||||
"type": "Undo",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"object": "http://lemmy-alpha:8541/post/2",
|
||||
"cc": ["http://lemmy-alpha:8541/c/main"],
|
||||
"type": "Lock",
|
||||
"id": "http://lemmy-alpha:8541/activities/lock/08b6fd3e-9ef3-4358-a987-8bb641f3e2c3",
|
||||
"audience": "http://lemmy-alpha:8541/c/main"
|
||||
},
|
||||
"cc": ["http://lemmy-alpha:8541/c/main"],
|
||||
"type": "Undo",
|
||||
"audience": "http://lemmy-alpha:8541/c/main"
|
||||
}
|
||||
|
@ -1,7 +1,5 @@
|
||||
{
|
||||
"type": "OrderedCollection",
|
||||
"id": "https://enterprise.lemmy.ml/c/tenforward/moderators",
|
||||
"orderedItems": [
|
||||
"https://enterprise.lemmy.ml/u/picard"
|
||||
]
|
||||
"orderedItems": ["https://enterprise.lemmy.ml/u/picard"]
|
||||
}
|
@ -1,81 +1,65 @@
|
||||
{
|
||||
"type":"OrderedCollection",
|
||||
"id":"https://ds9.lemmy.ml/c/testcom/outbox",
|
||||
"totalItems":2,
|
||||
"orderedItems":[
|
||||
"type": "OrderedCollection",
|
||||
"id": "https://ds9.lemmy.ml/c/testcom/outbox",
|
||||
"totalItems": 2,
|
||||
"orderedItems": [
|
||||
{
|
||||
"actor":"https://ds9.lemmy.ml/c/testcom",
|
||||
"to":[
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"object":{
|
||||
"actor":"https://ds9.lemmy.ml/u/nutomic",
|
||||
"to":[
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"cc":[
|
||||
"https://ds9.lemmy.ml/c/testcom"
|
||||
],
|
||||
"type":"Create",
|
||||
"id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
||||
"object":{
|
||||
"type":"Page",
|
||||
"id":"https://ds9.lemmy.ml/post/2328",
|
||||
"attributedTo":"https://ds9.lemmy.ml/u/nutomic",
|
||||
"to":[
|
||||
"actor": "https://ds9.lemmy.ml/c/testcom",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"object": {
|
||||
"actor": "https://ds9.lemmy.ml/u/nutomic",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"cc": ["https://ds9.lemmy.ml/c/testcom"],
|
||||
"type": "Create",
|
||||
"id": "http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
||||
"object": {
|
||||
"type": "Page",
|
||||
"id": "https://ds9.lemmy.ml/post/2328",
|
||||
"attributedTo": "https://ds9.lemmy.ml/u/nutomic",
|
||||
"to": [
|
||||
"https://ds9.lemmy.ml/c/testcom",
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"name":"another outbox test",
|
||||
"mediaType":"text/html",
|
||||
"commentsEnabled":true,
|
||||
"sensitive":false,
|
||||
"stickied":false,
|
||||
"published":"2021-11-18T17:19:45.895163+00:00"
|
||||
"name": "another outbox test",
|
||||
"mediaType": "text/html",
|
||||
"commentsEnabled": true,
|
||||
"sensitive": false,
|
||||
"stickied": false,
|
||||
"published": "2021-11-18T17:19:45.895163+00:00"
|
||||
}
|
||||
},
|
||||
"cc":[
|
||||
"https://ds9.lemmy.ml/c/testcom/followers"
|
||||
],
|
||||
"type":"Announce",
|
||||
"id":"https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6"
|
||||
"cc": ["https://ds9.lemmy.ml/c/testcom/followers"],
|
||||
"type": "Announce",
|
||||
"id": "https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6"
|
||||
},
|
||||
{
|
||||
"actor":"https://ds9.lemmy.ml/c/testcom",
|
||||
"to":[
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"object":{
|
||||
"actor":"https://ds9.lemmy.ml/u/nutomic",
|
||||
"to":[
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"cc":[
|
||||
"https://ds9.lemmy.ml/c/testcom"
|
||||
],
|
||||
"type":"Create",
|
||||
"id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
||||
"object":{
|
||||
"type":"Page",
|
||||
"id":"https://ds9.lemmy.ml/post/2327",
|
||||
"attributedTo":"https://ds9.lemmy.ml/u/nutomic",
|
||||
"to":[
|
||||
"actor": "https://ds9.lemmy.ml/c/testcom",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"object": {
|
||||
"actor": "https://ds9.lemmy.ml/u/nutomic",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"cc": ["https://ds9.lemmy.ml/c/testcom"],
|
||||
"type": "Create",
|
||||
"id": "http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
||||
"object": {
|
||||
"type": "Page",
|
||||
"id": "https://ds9.lemmy.ml/post/2327",
|
||||
"attributedTo": "https://ds9.lemmy.ml/u/nutomic",
|
||||
"to": [
|
||||
"https://ds9.lemmy.ml/c/testcom",
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"name":"outbox test",
|
||||
"mediaType":"text/html",
|
||||
"commentsEnabled":true,
|
||||
"sensitive":false,
|
||||
"stickied":false,
|
||||
"published":"2021-11-18T17:19:05.763109+00:00"
|
||||
"name": "outbox test",
|
||||
"mediaType": "text/html",
|
||||
"commentsEnabled": true,
|
||||
"sensitive": false,
|
||||
"stickied": false,
|
||||
"published": "2021-11-18T17:19:05.763109+00:00"
|
||||
}
|
||||
},
|
||||
"cc":[
|
||||
"https://ds9.lemmy.ml/c/testcom/followers"
|
||||
],
|
||||
"type":"Announce",
|
||||
"id":"https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18"
|
||||
"cc": ["https://ds9.lemmy.ml/c/testcom/followers"],
|
||||
"type": "Announce",
|
||||
"id": "https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"@context":"https://www.w3.org/ns/activitystreams",
|
||||
"id":"https://mastodon.madrid/users/felix#likes/212340",
|
||||
"type":"Like",
|
||||
"actor":"https://mastodon.madrid/users/felix",
|
||||
"object":"https://ds9.lemmy.ml/post/147"
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"id": "https://mastodon.madrid/users/felix#likes/212340",
|
||||
"type": "Like",
|
||||
"actor": "https://mastodon.madrid/users/felix",
|
||||
"object": "https://ds9.lemmy.ml/post/147"
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"@context":"https://www.w3.org/ns/activitystreams",
|
||||
"id":"https://mastodon.madrid/users/felix#likes/212341/undo",
|
||||
"type":"Undo",
|
||||
"actor":"https://mastodon.madrid/users/felix",
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"id": "https://mastodon.madrid/users/felix#likes/212341/undo",
|
||||
"type": "Undo",
|
||||
"actor": "https://mastodon.madrid/users/felix",
|
||||
"object": {
|
||||
"id":"https://mastodon.madrid/users/felix#likes/212341",
|
||||
"type":"Like",
|
||||
"actor":"https://mastodon.madrid/users/felix",
|
||||
"object":"https://ds9.lemmy.ml/post/147"
|
||||
"id": "https://mastodon.madrid/users/felix#likes/212341",
|
||||
"type": "Like",
|
||||
"actor": "https://mastodon.madrid/users/felix",
|
||||
"object": "https://ds9.lemmy.ml/post/147"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue