-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix-small-eslint-issues #963
fix-small-eslint-issues #963
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
c5b269e
to
7f08567
Compare
@@ -82,8 +82,7 @@ export default function ManageTokensModal({ | |||
plural: true, | |||
}) | |||
|
|||
// eslint-disable-next-line no-extra-boolean-cast | |||
const redeemDisabled = !Boolean(hasOverflow) | |||
const redeemDisabled = !hasOverflow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasn't 100% about going around and renaming these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
na feels good 👍
@@ -94,11 +92,10 @@ export default function ProjectReserved({ | |||
label={ | |||
hideLabel ? undefined : ( | |||
<> | |||
{shouldRenderToggle ? ( | |||
{onToggled ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but, I renamed this one since it was just one variable.
@@ -53,7 +53,7 @@ export default function ImageUploader({ | |||
borderRadius: theme.radii.md, | |||
}} | |||
src={url} | |||
alt="Uploaded image" | |||
alt="Uploaded user content" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wasn't in the initial warning, but it was showing up. It might have just been a stale yarn cache that didn't catch this rule the first time because my bundle/lint changed so dramatically between branches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hah, nice. I like this rule :D
@@ -59,7 +59,7 @@ export default function IssueTokenModal({ | |||
transactionPending={transactionPending} | |||
> | |||
<p> | |||
{!Boolean(isNewDeploy) ? ( | |||
{!isNewDeploy ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wasn't in the initial warning, but it was showing up. It might have just been a stale yarn cache that didn't catch this rule the first time because my bundle/lint changed so dramatically between branches.
Same here.
{/* Added a hidden input here because Form.Item needs | ||
a child Input to work. Need the parent Form.Item to | ||
{/* Added a hidden input here because Form.Item needs | ||
a child Input to work. Need the parent Form.Item to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was prettier. Honestly curious how this happened.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this one @benschac , LGTM!
* update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint
* update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint
* add missing polyfills and modules * remove unused code * update uniswap v3 sdk (#870) * update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint
* add rewire to project * add rewire commands * add missing polyfills and modules (#869) * add missing polyfills and modules * remove unused code * update uniswap v3 sdk (#870) * update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint
* add rewire to project * add rewire commands * add missing polyfills and modules (#869) * add missing polyfills and modules * remove unused code * update uniswap v3 sdk (#870) * update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint
* add rewire to project * add rewire commands * add missing polyfills and modules (#869) * add missing polyfills and modules * remove unused code * update uniswap v3 sdk (#870) * update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint
Add rewired to project (#868) * add rewire to project * add rewire commands * add missing polyfills and modules (#869) * add missing polyfills and modules * remove unused code * update uniswap v3 sdk (#870) * update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint fix linting issues from main bump eslint dep fix up remaining tyscript issues fix CI build bump jest, configure jest, configure eslint fix package lock
Add rewired to project (#868) * add rewire to project * add rewire commands * add missing polyfills and modules (#869) * add missing polyfills and modules * remove unused code * update uniswap v3 sdk (#870) * update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint fix linting issues from main bump eslint dep fix up remaining tyscript issues fix CI build bump jest, configure jest, configure eslint fix package lock
Add rewired to project (#868) * add rewire to project * add rewire commands * add missing polyfills and modules (#869) * add missing polyfills and modules * remove unused code * update uniswap v3 sdk (#870) * update uniswap v3 sdk * update json imports in app (#871) * update json imports in app * update eslint configuration (#876) * update eslint configuration * remove eslint, set react version * remove issuetickets component * fix-small-eslint-issues (#963) * fix-small-eslint-issues * set config overrides file as node / common js for eslint fix linting issues from main bump eslint dep fix up remaining tyscript issues fix CI build bump jest, configure jest, configure eslint fix package lock
What does this PR do and why?
Follow up on ESLint changes from here: #876 (comment)
Screenshots or screen recordings
Acceptance checklist