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

Fixing lint errors and adjusting CI test scope #47

Merged
merged 5 commits into from
Nov 14, 2024
Merged

Conversation

philliparaujo
Copy link

@philliparaujo philliparaujo commented Nov 14, 2024

Description

Because in P3 we added StandardJS, we had two competing lint standards that could never pass together. This led to failures on the main branch and made it hard to debug newly introduced lint errors.

I changed the StandardJS lint to only run on one file, and changed ESLint to run on all files other than that file. So now it's possible for both tests to simultaneously pass.

I also modified all files so that the lint tests ARE simultaneously passing, and added some extra error handling in the new translation feature.

Resolves #53

Copy link

@heyanuja heyanuja left a comment

Choose a reason for hiding this comment

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

Noticing an error in a test failing that looks like a schema mismatch error, the API is returning more data than what's declared in its schema definition and I think its because of the new property that has been added to the API response (isEnglish I believe)
going to approve so I can pull changes and debug

@philliparaujo philliparaujo marked this pull request as ready for review November 14, 2024 21:55
@philliparaujo philliparaujo merged commit 46e76ea into f24 Nov 14, 2024
2 of 3 checks passed
@KesterTan KesterTan added the bug Something isn't working label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix conflicting lint checkers
3 participants