Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Feb 25, 2024
1 parent 9cc0a49 commit d34081c
Show file tree
Hide file tree
Showing 16 changed files with 1,597 additions and 1,659 deletions.
7 changes: 2 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
]
}
"presets": ["@babel/preset-env", "@babel/preset-typescript"]
}
2 changes: 1 addition & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ignorePaths": ["**/*.json", "**/*.css", "node_modules", "**/*.log"],
"useGitignore": true,
"language": "en",
"words": ["dataurl", "devpool", "outdir", "servedir"],
"words": ["dataurl", "devpool", "outdir", "servedir", "ubiquibot"],
"dictionaries": ["typescript", "node", "software-terms"],
"import": ["@cspell/dict-typescript/cspell-ext.json", "@cspell/dict-node/cspell-ext.json", "@cspell/dict-software-terms"],
"ignoreRegExpList": ["[0-9a-fA-F]{6}"]
Expand Down
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
transform: {
'^.+\\.tsx?$': 'babel-jest',
"^.+\\.tsx?$": "babel-jest",
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
};
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
};
1,744 changes: 872 additions & 872 deletions src/data-collection/fixtures/events-84.json

Large diffs are not rendered by default.

142 changes: 71 additions & 71 deletions src/data-collection/fixtures/events-90.json
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
[
{
"id": 11840150943,
"node_id": "AE_lADOJkXFU85_nTeNzwAAAALBul2f",
"url": "https://api.github.com/repos/ubiquibot/production/issues/events/11840150943",
"actor": {
"login": "pavlovcik",
"id": 4975670,
"node_id": "MDQ6VXNlcjQ5NzU2NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pavlovcik",
"html_url": "https://github.com/pavlovcik",
"followers_url": "https://api.github.com/users/pavlovcik/followers",
"following_url": "https://api.github.com/users/pavlovcik/following{/other_user}",
"gists_url": "https://api.github.com/users/pavlovcik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pavlovcik/subscriptions",
"organizations_url": "https://api.github.com/users/pavlovcik/orgs",
"repos_url": "https://api.github.com/users/pavlovcik/repos",
"events_url": "https://api.github.com/users/pavlovcik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pavlovcik/received_events",
"type": "User",
"site_admin": false
},
"event": "assigned",
"commit_id": null,
"commit_url": null,
"created_at": "2024-02-18T14:20:49Z",
"assignee": {
"login": "pavlovcik",
"id": 4975670,
"node_id": "MDQ6VXNlcjQ5NzU2NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pavlovcik",
"html_url": "https://github.com/pavlovcik",
"followers_url": "https://api.github.com/users/pavlovcik/followers",
"following_url": "https://api.github.com/users/pavlovcik/following{/other_user}",
"gists_url": "https://api.github.com/users/pavlovcik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pavlovcik/subscriptions",
"organizations_url": "https://api.github.com/users/pavlovcik/orgs",
"repos_url": "https://api.github.com/users/pavlovcik/repos",
"events_url": "https://api.github.com/users/pavlovcik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pavlovcik/received_events",
"type": "User",
"site_admin": false
},
"assigner": {
"login": "ubiquibot[bot]",
"id": 113181824,
"node_id": "BOT_kgDOBr8EgA",
"avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ubiquibot%5Bbot%5D",
"html_url": "https://github.com/apps/ubiquibot",
"followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"performed_via_github_app": null
}
]
{
"id": 11840150943,
"node_id": "AE_lADOJkXFU85_nTeNzwAAAALBul2f",
"url": "https://api.github.com/repos/ubiquibot/production/issues/events/11840150943",
"actor": {
"login": "pavlovcik",
"id": 4975670,
"node_id": "MDQ6VXNlcjQ5NzU2NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pavlovcik",
"html_url": "https://github.com/pavlovcik",
"followers_url": "https://api.github.com/users/pavlovcik/followers",
"following_url": "https://api.github.com/users/pavlovcik/following{/other_user}",
"gists_url": "https://api.github.com/users/pavlovcik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pavlovcik/subscriptions",
"organizations_url": "https://api.github.com/users/pavlovcik/orgs",
"repos_url": "https://api.github.com/users/pavlovcik/repos",
"events_url": "https://api.github.com/users/pavlovcik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pavlovcik/received_events",
"type": "User",
"site_admin": false
},
"event": "assigned",
"commit_id": null,
"commit_url": null,
"created_at": "2024-02-18T14:20:49Z",
"assignee": {
"login": "pavlovcik",
"id": 4975670,
"node_id": "MDQ6VXNlcjQ5NzU2NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pavlovcik",
"html_url": "https://github.com/pavlovcik",
"followers_url": "https://api.github.com/users/pavlovcik/followers",
"following_url": "https://api.github.com/users/pavlovcik/following{/other_user}",
"gists_url": "https://api.github.com/users/pavlovcik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pavlovcik/subscriptions",
"organizations_url": "https://api.github.com/users/pavlovcik/orgs",
"repos_url": "https://api.github.com/users/pavlovcik/repos",
"events_url": "https://api.github.com/users/pavlovcik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pavlovcik/received_events",
"type": "User",
"site_admin": false
},
"assigner": {
"login": "ubiquibot[bot]",
"id": 113181824,
"node_id": "BOT_kgDOBr8EgA",
"avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ubiquibot%5Bbot%5D",
"html_url": "https://github.com/apps/ubiquibot",
"followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"performed_via_github_app": null
}
]
2 changes: 1 addition & 1 deletion src/data-collection/fixtures/issue-84.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@
"timeline_url": "https://api.github.com/repos/ubiquibot/production/issues/84/timeline",
"performed_via_github_app": null,
"state_reason": null
}
}
8 changes: 2 additions & 6 deletions src/data-collection/fixtures/issue-89.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,11 @@
"type": "User",
"site_admin": false
},
"labels": [

],
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"assignees": [

],
"assignees": [],
"milestone": null,
"comments": 0,
"created_at": "2024-02-18T13:47:27Z",
Expand Down
4 changes: 1 addition & 3 deletions src/data-collection/fixtures/issue-90.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
"type": "User",
"site_admin": false
},
"labels": [

],
"labels": [],
"state": "open",
"locked": false,
"assignee": {
Expand Down
8 changes: 2 additions & 6 deletions src/data-collection/fixtures/issue-92.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,11 @@
"type": "User",
"site_admin": false
},
"labels": [

],
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"assignees": [

],
"assignees": [],
"milestone": null,
"comments": 0,
"created_at": "2024-02-18T14:27:42Z",
Expand Down
24 changes: 6 additions & 18 deletions src/data-collection/fixtures/pr-188.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,10 @@
"merged_at": null,
"merge_commit_sha": "562941b85b1188fe972e1b4239fd4570300cab4d",
"assignee": null,
"assignees": [

],
"requested_reviewers": [

],
"requested_teams": [

],
"labels": [

],
"assignees": [],
"requested_reviewers": [],
"requested_teams": [],
"labels": [],
"milestone": null,
"draft": false,
"commits_url": "https://api.github.com/repos/ubiquibot/staging/pulls/188/commits",
Expand Down Expand Up @@ -179,9 +171,7 @@
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [

],
"topics": [],
"visibility": "public",
"forks": 1,
"open_issues": 83,
Expand Down Expand Up @@ -312,9 +302,7 @@
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [

],
"topics": [],
"visibility": "public",
"forks": 1,
"open_issues": 83,
Expand Down
Loading

0 comments on commit d34081c

Please sign in to comment.