-
Notifications
You must be signed in to change notification settings - Fork 55
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
npm update and versions bumps #374
Conversation
@Griffin-Sullivan, there is a severe vulnerability listed on npm audit related to serve . AFAIK, this is just a dev dependency used by cypress. I'm watching this issue waiting for response from maintainers. (/cc @tarilabs ) |
@@ -72,7 +72,6 @@ | |||
"no-only-tests/no-only-tests": "error", | |||
"@typescript-eslint/default-param-last": "error", | |||
"@typescript-eslint/dot-notation": ["error", { "allowKeywords": true }], | |||
"@typescript-eslint/lines-between-class-members": ["error", "always"], |
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.
@Griffin-Sullivan https://eslint.org/blog/2023/10/deprecating-formatting-rules/
not sure if we should add something in Prettier to cover that.
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 is a rule I already didn't care for too much any way. For now we can just remove
@@ -7,14 +7,8 @@ import { | |||
} from '@testing-library/react'; | |||
import { queries, Queries } from '@testing-library/dom'; | |||
|
|||
export type BooleanValues<T> = T extends |
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.
prettier asked for one line.
| undefined | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
| Function | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type |
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.
as this is a test, I just ignore the warning. @Griffin-Sullivan please let me know if we should refactor it instead.
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.
fine with me
@@ -174,7 +168,7 @@ export const createComparativeValue = <T>(source: T, booleanTarget: BooleanValue | |||
|
|||
const createComparativeValueRecursive = <T>( | |||
source: unknown, | |||
// eslint-disable-next-line @typescript-eslint/ban-types | |||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type |
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.
same as above
@@ -122,7 +122,7 @@ export const BrowserStorageContextProvider: React.FC<BrowserStorageContextProvid | |||
setValues((oldValues) => ({ ...oldValues, [storageKey]: storageValue })); | |||
|
|||
return true; | |||
} catch (e) { |
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.
Complaining about unused var
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com> Regenerating package-lock.json Removing @types/victory@35.0.0 since looks like it's not needed' bump @typescript-eslint/parser: ^7.18.0 bump typescript-eslint/parser
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.
Everything looks good to me. When I have some time tomorrow morning I'm gonna try installing this branch and see how it looks on install. Thanks for doing this Eder!
| undefined | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
| Function | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type |
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.
fine with me
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.
Install worked fine for me. Let's merge this one.
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexcreasy, Griffin-Sullivan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
How Has This Been Tested?
npm install
npm run start:dev
Merge criteria:
DCO
check)No ui changes.