Skip to content

Commit 40a6770

Browse files
authored
style: format (#218)
this PR adds Prettier as the default formatter for the repository
1 parent 3e05859 commit 40a6770

33 files changed

Lines changed: 2030 additions & 1785 deletions

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ blank_issues_enabled: false
22
contact_links:
33
- name: 🗨 Discussions
44
url: https://github.com/revanced/revanced-suggestions/discussions
5-
about: Have something unspecific to ReVanced APi in mind? Search for or start a new discussion!
5+
about: Have something unspecific to ReVanced API in mind? Search for or start a new discussion!

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
media="(prefers-color-scheme: dark)"
1414
srcset="https://raw.githubusercontent.com/revanced/revanced-api/main/assets/revanced-headline/revanced-headline-vertical-dark.svg"
1515
>
16-
<img
16+
<img
1717
width="256px"
1818
src="https://raw.githubusercontent.com/revanced/revanced-api/main/assets/revanced-headline/revanced-headline-vertical-light.svg"
1919
>
@@ -66,7 +66,7 @@ body:
6666
Continuing the legacy of Vanced
6767
</p>
6868
69-
# ReVanced APi feature request
69+
# ReVanced API feature request
7070
7171
Before creating a new feature request, please keep the following in mind:
7272
@@ -82,10 +82,10 @@ body:
8282
- type: textarea
8383
attributes:
8484
label: Motivation
85-
description: |
85+
description: |
8686
A strong motivation is necessary for a feature request to be considered.
87-
88-
- Why should this feature be implemented?
87+
88+
- Why should this feature be implemented?
8989
- What is the explicit use case?
9090
- What are the benefits?
9191
- What makes this feature important?

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.github/
2+
drizzle/
3+
bun.lock
4+
node_modules/
5+
*.md

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "none",
4+
"tabWidth": 4
5+
}

about.example.json

Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,85 @@
11
{
2-
"name": "ReVanced",
3-
"about": "ReVanced was born out of Vanced's discontinuation and it is our goal to continue the legacy of what Vanced left behind. Thanks to ReVanced Patcher, it's possible to create long-lasting patches for nearly any Android app. ReVanced's patching system is designed to allow patches to work on new versions of the apps automatically with bare minimum maintenance.",
4-
"keys": "https://api.revanced.app/keys",
5-
"branding": {
6-
"logo": "https://raw.githubusercontent.com/ReVanced/revanced-branding/main/assets/revanced-logo/revanced-logo.svg"
7-
},
8-
"status": "https://status.revanced.app",
9-
"contact": {
10-
"email": "contact@revanced.app"
11-
},
12-
"socials": [
13-
{
14-
"name": "Website",
15-
"url": "https://revanced.app",
16-
"preferred": true
2+
"name": "ReVanced",
3+
"about": "ReVanced was born out of Vanced's discontinuation and it is our goal to continue the legacy of what Vanced left behind. Thanks to ReVanced Patcher, it's possible to create long-lasting patches for nearly any Android app. ReVanced's patching system is designed to allow patches to work on new versions of the apps automatically with bare minimum maintenance.",
4+
"keys": "https://api.revanced.app/keys",
5+
"branding": {
6+
"logo": "https://raw.githubusercontent.com/ReVanced/revanced-branding/main/assets/revanced-logo/revanced-logo.svg"
177
},
18-
{
19-
"name": "GitHub",
20-
"url": "https://github.com/revanced"
8+
"status": "https://status.revanced.app",
9+
"contact": {
10+
"email": "contact@revanced.app"
2111
},
22-
{
23-
"name": "Twitter",
24-
"url": "https://twitter.com/revancedapp"
25-
},
26-
{
27-
"name": "Discord",
28-
"url": "https://revanced.app/discord",
29-
"preferred": true
30-
},
31-
{
32-
"name": "Reddit",
33-
"url": "https://www.reddit.com/r/revancedapp"
34-
},
35-
{
36-
"name": "Telegram",
37-
"url": "https://t.me/app_revanced"
38-
},
39-
{
40-
"name": "YouTube",
41-
"url": "https://www.youtube.com/@ReVanced"
42-
}
43-
],
44-
"donations": {
45-
"wallets": [
46-
{
47-
"network": "Bitcoin",
48-
"currency_code": "BTC",
49-
"address": "bc1q4x8j6mt27y5gv0q625t8wkr87ruy8fprpy4v3f"
50-
},
51-
{
52-
"network": "Dogecoin",
53-
"currency_code": "DOGE",
54-
"address": "D8GH73rNjudgi6bS2krrXWEsU9KShedLXp",
55-
"preferred": true
56-
},
57-
{
58-
"network": "Ethereum",
59-
"currency_code": "ETH",
60-
"address": "0x7ab4091e00363654bf84B34151225742cd92FCE5"
61-
},
62-
{
63-
"network": "Litecoin",
64-
"currency_code": "LTC",
65-
"address": "LbJi8EuoDcwaZvykcKmcrM74jpjde23qJ2"
66-
},
67-
{
68-
"network": "Monero",
69-
"currency_code": "XMR",
70-
"address": "46YwWDbZD6jVptuk5mLHsuAmh1BnUMSjSNYacozQQEraWSQ93nb2yYVRHoMR6PmFYWEHsLHg9tr1cH5M8Rtn7YaaGQPCjSh"
71-
}
12+
"socials": [
13+
{
14+
"name": "Website",
15+
"url": "https://revanced.app",
16+
"preferred": true
17+
},
18+
{
19+
"name": "GitHub",
20+
"url": "https://github.com/revanced"
21+
},
22+
{
23+
"name": "Twitter",
24+
"url": "https://twitter.com/revancedapp"
25+
},
26+
{
27+
"name": "Discord",
28+
"url": "https://revanced.app/discord",
29+
"preferred": true
30+
},
31+
{
32+
"name": "Reddit",
33+
"url": "https://www.reddit.com/r/revancedapp"
34+
},
35+
{
36+
"name": "Telegram",
37+
"url": "https://t.me/app_revanced"
38+
},
39+
{
40+
"name": "YouTube",
41+
"url": "https://www.youtube.com/@ReVanced"
42+
}
7243
],
73-
"links": [
74-
{
75-
"name": "Open Collective",
76-
"url": "https://opencollective.com/revanced",
77-
"preferred": true
78-
},
79-
{
80-
"name": "GitHub Sponsors",
81-
"url": "https://github.com/sponsors/ReVanced"
82-
}
83-
]
84-
}
85-
}
44+
"donations": {
45+
"wallets": [
46+
{
47+
"network": "Bitcoin",
48+
"currency_code": "BTC",
49+
"address": "bc1q4x8j6mt27y5gv0q625t8wkr87ruy8fprpy4v3f"
50+
},
51+
{
52+
"network": "Dogecoin",
53+
"currency_code": "DOGE",
54+
"address": "D8GH73rNjudgi6bS2krrXWEsU9KShedLXp",
55+
"preferred": true
56+
},
57+
{
58+
"network": "Ethereum",
59+
"currency_code": "ETH",
60+
"address": "0x7ab4091e00363654bf84B34151225742cd92FCE5"
61+
},
62+
{
63+
"network": "Litecoin",
64+
"currency_code": "LTC",
65+
"address": "LbJi8EuoDcwaZvykcKmcrM74jpjde23qJ2"
66+
},
67+
{
68+
"network": "Monero",
69+
"currency_code": "XMR",
70+
"address": "46YwWDbZD6jVptuk5mLHsuAmh1BnUMSjSNYacozQQEraWSQ93nb2yYVRHoMR6PmFYWEHsLHg9tr1cH5M8Rtn7YaaGQPCjSh"
71+
}
72+
],
73+
"links": [
74+
{
75+
"name": "Open Collective",
76+
"url": "https://opencollective.com/revanced",
77+
"preferred": true
78+
},
79+
{
80+
"name": "GitHub Sponsors",
81+
"url": "https://github.com/sponsors/ReVanced"
82+
}
83+
]
84+
}
85+
}

0 commit comments

Comments
 (0)