Upgrade prettier and fix prettier and lint issues #25
Conversation
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.
The PR diff size of 25193 lines exceeds the maximum allowed for the inline comments feature.
Thank you for the contribution! Noticed that you commited |
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.
The PR diff size of 5045 lines exceeds the maximum allowed for the inline comments feature.
Upgrade prettier Change "lint": "eslint \"**/*.{js,ts,tsx}\"" Run yarn lint --fix
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.
The PR diff size of 5053 lines exceeds the maximum allowed for the inline comments feature.
Code Climate has analyzed commit 8469c8d and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (90% is the threshold). This pull request will bring the total coverage in the repository to 96.2% (0.0% change). View more on Code Climate. |
It seems that CI is failing because of multiple Cypress versions. Setting a specific version of Cypress with This seems relevant: cypress-io/cypress#4595 |
@rrebase I could get this far from last night.
and ended up running these commands
After that I ran
|
The latest CI details indicate that Cypress is dependent on package-lock.json, @rrebase could you help to resolve these issues and upgrade the packages, please?
|
@arvandf I'll take a look and try to fix these issues. |
@arvandf Upgrading npm packages can be quite a chore due to dependency hell. Thanks for writing out the issues you faced 👏. I initially continued from your latest commit and fixed the issues you mention above, My thoughts:
I'll close this PR and merge #27 if it makes sense to you & will wait for your filtering assignees PR 🙂 |
@rrebase Thanks for fixing it so quickly 😄. It also makes total sense to close this PR.
|
I was trying to use optional chaining for a PR, then realized that the prettier version is old. In this pull request I have:
Upgraded prettier in package.json
Change the following line in the package.json (otherwise yarn fix lint wouldn't work):
"lint": "eslint \"**/*.{js,ts,tsx}\""
yarn lint --fix
It seems that yarn lint --fix wasn't correctly running before so a lot correction has been made to the files.