Skip to content

Commit 95f6f27

Browse files
committed
Lint fixes
1 parent 2761b83 commit 95f6f27

File tree

21 files changed

+219
-213
lines changed

21 files changed

+219
-213
lines changed

src/apps/earn/src/components/gig-apply/CandidateTermsModal/index.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@ const CandidateTermsModal = ({ onClose, open }) => {
2626
Recruit CRM to manage your information and send your profile to
2727
companies to present you for potential Gig Opportunities. You Can view
2828
Topcoder’s{" "}
29-
<a target="_blank" href={TOPCODER_PRIVACY_POLICY_URL}>
29+
<a target="_blank" href={TOPCODER_PRIVACY_POLICY_URL} rel="noreferrer">
3030
privacy policy here
3131
</a>
3232
.
3333
</p>
3434
<p>
35-
<a target="_blank" href={RECRUIT_CRM_URL}>
35+
<a target="_blank" href={RECRUIT_CRM_URL} rel="noreferrer">
3636
Recruit CRM
3737
</a>{" "}
3838
is a software system that helps recruitment firms manage their
3939
relationship with their clients. You can view Recruit CRMs{" "}
40-
<a target="_blank" href={RECRUIT_CRM_PRIVACY_POLICY_URL}>
40+
<a target="_blank" href={RECRUIT_CRM_PRIVACY_POLICY_URL} rel="noreferrer">
4141
privacy policy
4242
</a>{" "}
4343
or{" "}
44-
<a target="_blank" href={RECRUIT_CRM_GDPR_URL}>
44+
<a target="_blank" href={RECRUIT_CRM_GDPR_URL} rel="noreferrer">
4545
GDPR
4646
</a>{" "}
4747
commitment on our website.

src/apps/earn/src/components/gig-details/GigReferral/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const GigReferral = ({ className }) => {
138138
</div>
139139
<div className={styles.incentive}>
140140
Refer someone to this gig and earn $500. Just add their email below. See{" "}
141-
<a target="_blank" href={REFERRAL_PROGRAM_URL}>
141+
<a target="_blank" href={REFERRAL_PROGRAM_URL} rel="noreferrer">
142142
how it works
143143
</a>
144144
.

src/apps/earn/src/containers/MyGigs/modals/UpdateGigProfile/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const UpdateGigProfile = ({
242242
<div className={styles["resume-details"]}>
243243
Please upload your resume/CV. Double-check that all of your tech
244244
skills are listed in your resume/CV.&nbsp;&nbsp;&nbsp;
245-
<a href={profile.existingResume.file_link} target="_blank">
245+
<a href={profile.existingResume.file_link} target="_blank" rel="noreferrer">
246246
{profile.existingResume.filename}
247247
</a>
248248
</div>

src/apps/earn/src/services/api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function doFetch(endpoint, options = {}, v3, baseUrl) {
3030

3131
async function download(endpoint, baseUrl, cancellationSignal) {
3232
const options = {
33-
headers: { ["Content-Type"]: "application/json" },
33+
headers: { "Content-Type": "application/json" },
3434
signal: cancellationSignal,
3535
};
3636
const response = await doFetch(endpoint, options, undefined, baseUrl);
@@ -40,7 +40,7 @@ async function download(endpoint, baseUrl, cancellationSignal) {
4040

4141
async function get(endpoint, baseUrl, cancellationSignal) {
4242
const options = {
43-
headers: { ["Content-Type"]: "application/json" },
43+
headers: { "Content-Type": "application/json" },
4444
signal: cancellationSignal,
4545
};
4646
const response = await doFetch(endpoint, options, undefined, baseUrl);

src/apps/platform/src/platform.routes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ export const platformRoutes: Array<PlatformRoute> = [
3030
...talentSearchRoutes,
3131
...profilesRoutes,
3232
...accountsRoutes,
33-
...homeRoutes
33+
...homeRoutes,
3434
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { talentSearchRoutes } from "./talent-search.routes"
1+
export { talentSearchRoutes } from './talent-search.routes'

src/apps/talent-search/src/lib/models/Member.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import MemberEmsiSkill from './MemberEmsiSkill';
2-
import MemberMaxRating from './MemberMaxRating';
3-
import MemberStats from './MemberStats';
1+
import MemberEmsiSkill from './MemberEmsiSkill'
2+
import MemberMaxRating from './MemberMaxRating'
3+
import MemberStats from './MemberStats'
44

55
export default interface Member {
66
userId: number;
@@ -15,8 +15,6 @@ export default interface Member {
1515
emsiSkills: Array<MemberEmsiSkill>;
1616
stats:Array<MemberStats>;
1717
country:string;
18-
photoURL:string;
18+
photoURL:string;
1919
createdAt:number;
2020
}
21-
22-

src/apps/talent-search/src/lib/models/MemberEmsiSkill.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ export default interface MemberEmsiSkill {
66
category:string;
77
isSearched: boolean;
88
}
9-
10-

src/apps/talent-search/src/lib/models/MemberMaxRating.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ export default interface MemberMaxRating {
44
subTrack:string;
55
ratingColor:string;
66
}
7-
8-

src/apps/talent-search/src/lib/models/MemberStats.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ export default interface MemberStats {
55
mostRecentEventName:string;
66
mostRecentSubmission:number;
77
}
8-
9-

0 commit comments

Comments
 (0)