Skip to content
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

chore: fix ~50 eslint errors #1008

Merged
merged 17 commits into from
May 17, 2022

Conversation

sethidden
Copy link
Contributor

@sethidden sethidden commented May 16, 2022

Second batch of manual eslint fixes. Error/warning count is 140 -> 96. These ones had to be made by hand.

@sethidden sethidden changed the title refactor: improve typing of vue-outside-click chore: fix ~50 eslint errors May 16, 2022
{
"files": ["packages/theme/tests/e2e/**/*"],
"rules": {
"jest/expect-expect": "off",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cypress uses similar test case syntax to jest so eslint gets confused and treats cypress like jest. this solution is not optimal but will do for now

@@ -41,8 +41,10 @@
"@vue-storefront/nuxt": "~2.5.6",
"@vue-storefront/redis-cache": "^1.0.1",
"axios": "^0.26.1",
"body-parser": "1.19.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were already used by body-parser.js - I'm just adding them explicitly, rather than using the transient versions provided by unrelated packages

Copy link
Collaborator

@bartoszherba bartoszherba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sethidden Please, fix build issues.

@sethidden
Copy link
Contributor Author

Build issues fixed in b27b057 (non-trivial)

@bartoszherba bartoszherba merged commit ae5f1de into develop May 17, 2022
@bartoszherba bartoszherba deleted the fix-more-difficult-ts-related-eslint-errors branch May 17, 2022 06:47
@Frodigo Frodigo added this to the 1.0.0-rc.8 milestone May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants