Enable eslint rule quote-props (#1795)

## Description:

Enable eslint rule `quote-props`

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
This commit is contained in:
Scott Anderson
2025-08-12 23:51:37 -04:00
committed by GitHub
parent 087afc770a
commit af8bb9a218
4 changed files with 20 additions and 13 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export async function handlePurchase(priceId: string) {
method: "POST",
headers: {
"Content-Type": "application/json",
authorization: getAuthHeader(),
"authorization": getAuthHeader(),
},
body: JSON.stringify({
priceId: priceId,
+5 -7
View File
@@ -1,16 +1,14 @@
import { Cosmetics } from "./CosmeticSchemas";
const ANIMATION_DURATIONS: Record<string, number> = {
rainbow: 4000,
/* eslint-disable sort-keys */
"bright-rainbow": 4000,
"copper-glow": 3000,
"silver-glow": 3000,
"gold-glow": 3000,
neon: 3000,
lava: 6000,
/* eslint-enable sort-keys */
water: 6200,
"lava": 6000,
"neon": 3000,
"rainbow": 4000,
"silver-glow": 3000,
"water": 6200,
};
// TODO: Pass in cosmetics as a parameter when
+3 -3
View File
@@ -69,7 +69,7 @@ export class Cloudflare {
const response = await fetch(url, {
body: data ? JSON.stringify(data) : undefined,
headers: {
Authorization: `Bearer ${this.apiToken}`,
"Authorization": `Bearer ${this.apiToken}`,
"Content-Type": "application/json",
},
method,
@@ -184,7 +184,7 @@ export class Cloudflare {
const tunnelConfig: CloudflaredConfig = {
"credentials-file": this.credsPath,
ingress: [
"ingress": [
...Array.from(subdomainToService.entries()).map(
([subdomain, service]) => ({
hostname: `${subdomain}.${domain}`,
@@ -195,7 +195,7 @@ export class Cloudflare {
service: "http_status:404",
},
],
tunnel: tunnelId,
"tunnel": tunnelId,
};
// Write config file