Skip to content

Commit 5c69dd9

Browse files
committed
lint fix
1 parent f232dfd commit 5c69dd9

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/config/environments/default.env.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type {
88
} from './global-config.model'
99

1010
function parseSSOLoginProviders(
11-
raw: string | undefined
11+
raw: string | undefined,
1212
): SSOLoginProviderConfig[] {
1313
if (!raw) {
1414
return []
@@ -25,7 +25,7 @@ function parseSSOLoginProviders(
2525

2626
export const ENV = getReactEnv<'prod' | 'dev' | 'qa' | 'local'>(
2727
'HOST_ENV',
28-
'dev'
28+
'dev',
2929
)
3030

3131
export const TC_DOMAIN: string = get(
@@ -36,7 +36,7 @@ export const TC_DOMAIN: string = get(
3636
qa: 'topcoder-qa.com',
3737
},
3838
ENV,
39-
'topcoder.com'
39+
'topcoder.com',
4040
)
4141

4242
export const TOPCODER_URL: string = `https://www.${TC_DOMAIN}`
@@ -63,7 +63,7 @@ export const AUTH = {
6363
export const LOGGING = {
6464
PUBLIC_TOKEN: getReactEnv<string | undefined>(
6565
'DATADOG_PUBLIC_TOKEN',
66-
undefined
66+
undefined,
6767
),
6868
SERVICE: 'platform-ui',
6969
}
@@ -78,19 +78,19 @@ export const VANILLA_FORUM = {
7878
V2_URL: 'https://vanilla.topcoder-dev.com/api/v2',
7979
}
8080

81-
const ADMIN_SSO_LOGIN_PROVIDERS_ENV =
82-
'[{"ssoLoginProviderId":1,"name":"okta-customer","type":"samlp"}]'
81+
const ADMIN_SSO_LOGIN_PROVIDERS_ENV
82+
= '[{"ssoLoginProviderId":1,"name":"okta-customer","type":"samlp"}]'
8383

84-
export const ADMIN_SSO_LOGIN_PROVIDERS: SSOLoginProviderConfig[] =
85-
parseSSOLoginProviders(ADMIN_SSO_LOGIN_PROVIDERS_ENV)
84+
export const ADMIN_SSO_LOGIN_PROVIDERS: SSOLoginProviderConfig[]
85+
= parseSSOLoginProviders(ADMIN_SSO_LOGIN_PROVIDERS_ENV)
8686

8787
export const LOCAL_SERVICE_OVERRIDES: LocalServiceOverride[] = []
8888

8989
export const STRIPE = {
9090
API_KEY: getReactEnv<string>('STRIPE_API_KEY', ''),
9191
API_VERSION: getReactEnv<string | undefined>(
9292
'STRIPE_API_VERSION',
93-
undefined
93+
undefined,
9494
),
9595
}
9696

@@ -103,18 +103,18 @@ export const URLS = {
103103

104104
export const MEMBER_VERIFY_LOOKER = getReactEnv<number>(
105105
'MEMBER_VERIFY_LOOKER',
106-
3322
106+
3322,
107107
)
108108

109109
export const ENABLE_TCA_CERT_MONETIZATION = false
110110

111-
export const TERMS_URL =
112-
'https://www.topcoder-dev.com/challenges/terms/detail/317cd8f9-d66c-4f2a-8774-63c612d99cd4'
111+
export const TERMS_URL
112+
= 'https://www.topcoder-dev.com/challenges/terms/detail/317cd8f9-d66c-4f2a-8774-63c612d99cd4'
113113
export const PRIVACY_POLICY_URL = `${TOPCODER_URL}/policy`
114114

115115
export const GAMIFICATION_ORG_ID = getReactEnv<string>(
116116
'GAMIFICATION_ORG_ID',
117-
undefined
117+
undefined,
118118
)
119119

120120
// TODO: Revert this. This was done because prod was restricting this and no one was available to fix the config
@@ -124,21 +124,21 @@ export const RESTRICT_TALENT_SEARCH = false
124124
export const USERFLOW_SURVEYS = {
125125
ACCOUNT_SETTINGS: getReactEnv<string>(
126126
'USERFLOW_SURVEY_ACCOUNT_SETTINGS',
127-
'3e704fe0-dff4-4af4-abee-383ed162729e'
127+
'3e704fe0-dff4-4af4-abee-383ed162729e',
128128
),
129129
PROFILES: getReactEnv<string>(
130130
'USERFLOW_SURVEY_PROFILES',
131-
'5cfae36f-0700-41c4-8938-0add4037acb2'
131+
'5cfae36f-0700-41c4-8938-0add4037acb2',
132132
),
133133
TALENTSEARCH: getReactEnv<string>(
134134
'USERFLOW_SURVEY_TALENTSEARCH',
135-
'd1030c93-dd36-4ae0-b5d0-95004b8e9d32'
135+
'd1030c93-dd36-4ae0-b5d0-95004b8e9d32',
136136
),
137137
}
138138

139139
export const TROLLEY_WIDGET_ORIGIN = getReactEnv<string>(
140140
'TROLLEY_WIDGET_ORIGIN',
141-
'https://widget.trolley.com'
141+
'https://widget.trolley.com',
142142
)
143143

144144
export const ADMIN = {
@@ -161,8 +161,8 @@ export const ADMIN = {
161161

162162
const REVIEW_OPPORTUNITIES_URL_DEFAULT = getReactEnv<string>(
163163
'REVIEW_OPPORTUNITIES_URL',
164-
'https://www.topcoder-dev.com/challenges/?bucket=reviewOpportunities&' +
165-
'tracks[DS]=true&tracks[Des]=true&tracks[Dev]=true&tracks[QA]=true'
164+
'https://www.topcoder-dev.com/challenges/?bucket=reviewOpportunities&'
165+
+ 'tracks[DS]=true&tracks[Des]=true&tracks[Dev]=true&tracks[QA]=true',
166166
)
167167

168168
export const REVIEW = {
@@ -173,33 +173,33 @@ export const REVIEW = {
173173

174174
const FILESTACK_SECURITY_POLICY = getReactEnv<string | undefined>(
175175
'FILESTACK_SECURITY_POLICY',
176-
undefined
176+
undefined,
177177
)
178178
const FILESTACK_SECURITY_SIGNATURE = getReactEnv<string | undefined>(
179179
'FILESTACK_SECURITY_SIGNATURE',
180-
undefined
180+
undefined,
181181
)
182182

183183
export const FILESTACK = {
184184
API_KEY: getReactEnv<string>('FILESTACK_API_KEY', ''),
185185
CNAME: getReactEnv<string>('FILESTACK_CNAME', 'filestackapi.com'),
186186
CONTAINER: getReactEnv<string>(
187187
'FILESTACK_CONTAINER',
188-
'tc-challenge-v5-dev'
188+
'tc-challenge-v5-dev',
189189
),
190190
PATH_PREFIX: getReactEnv<string>('FILESTACK_PATH_PREFIX', 'v6-review-app'),
191191
PROGRESS_INTERVAL: getReactEnv<number>(
192192
'FILESTACK_UPLOAD_PROGRESS_INTERVAL',
193-
100
193+
100,
194194
),
195195
REGION: getReactEnv<string>('FILESTACK_REGION', 'us-east-1'),
196196
RETRY: getReactEnv<number>('FILESTACK_UPLOAD_RETRY', 2),
197197
SECURITY:
198198
FILESTACK_SECURITY_POLICY && FILESTACK_SECURITY_SIGNATURE
199199
? {
200-
POLICY: FILESTACK_SECURITY_POLICY,
201-
SIGNATURE: FILESTACK_SECURITY_SIGNATURE,
202-
}
200+
POLICY: FILESTACK_SECURITY_POLICY,
201+
SIGNATURE: FILESTACK_SECURITY_SIGNATURE,
202+
}
203203
: undefined,
204204
TIMEOUT: getReactEnv<number>('FILESTACK_UPLOAD_TIMEOUT', 30 * 60 * 1000),
205205
}

0 commit comments

Comments
 (0)