Skip to content

Commit 3ee4d49

Browse files
committedSep 5, 2021
Fix linting issues
1 parent bc9e58c commit 3ee4d49

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed
 

‎.eslintrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"@next/next/no-img-element": [
99
"off"
1010
],
11-
"react/display-name": ["off"]
11+
"react/display-name": [
12+
"off"
13+
],
14+
"react/jsx-no-target-blank": [
15+
"off"
16+
]
1217
}
1318
}

‎components/custom-ad.tsx

+16-20
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,33 @@
11
export const CustomAd = () => {
22
return (
3-
<div id="carbonads">
3+
<div id='carbonads'>
44
<span>
5-
<span className="carbon-wrap">
5+
<span className='carbon-wrap'>
66
<a
7-
href="https://freemote.com/strategy?sl=roadmap"
8-
className="carbon-img"
9-
target="_blank"
10-
rel="noopener sponsored"
7+
href='https://freemote.com/strategy?sl=roadmap'
8+
className='carbon-img'
9+
target='_blank'
1110
>
1211
<img
13-
src="/fm-img.png"
14-
alt="FM Logo"
15-
border="0"
16-
height="100"
17-
width="130"
18-
style={{ maxWidth: "130px" }}
12+
src='/fm-img.png'
13+
alt='FM Logo'
14+
height='100'
15+
width='130'
16+
style={{ maxWidth: '130px', border: 'none' }}
1917
/>
2018
</a>
2119
<a
22-
href="https://freemote.com/strategy?sl=roadmap"
23-
className="carbon-text"
24-
target="_blank"
25-
rel="noopener sponsored"
20+
href='https://freemote.com/strategy?sl=roadmap'
21+
className='carbon-text'
22+
target='_blank'
2623
>
2724
He Went from ZERO TO $74,000 as a Full Time Developer in 7 Weeks
2825
</a>
2926
</span>
3027
<a
31-
href="https://github.com/sponsors/kamranahmedse"
32-
className="carbon-poweredby"
33-
target="_blank"
34-
rel="noopener sponsored"
28+
href='https://github.com/sponsors/kamranahmedse'
29+
className='carbon-poweredby'
30+
target='_blank'
3531
>
3632
Sponsored by
3733
</a>

0 commit comments

Comments
 (0)
Please sign in to comment.