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: Fail CI on lint warnings #75

Merged
merged 3 commits into from
Feb 13, 2024
Merged

Conversation

TWiStErRob
Copy link
Contributor

@TWiStErRob TWiStErRob commented Feb 13, 2024

@@ -12,7 +12,7 @@ describe("from file", () => {
mockapi.mock.google.root
.get({ search: /test.*/ })
.reply({ status: 200, data: { message: "worked" } });
const { status, data } = await axios.get(
const { status, data, invalid } = await axios.get(
Copy link
Collaborator

Choose a reason for hiding this comment

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

not sure why we need this invalid? was this to test eslint failing instead of warning?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Testing the change... we need to see red on CI to see if it worked:

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

also this is pretty cool:

image

Copy link
Collaborator

Choose a reason for hiding this comment

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

I know!

@shubhbapna shubhbapna changed the title Fail CI on lint warnings chore: Fail CI on lint warnings Feb 13, 2024
Copy link
Collaborator

@shubhbapna shubhbapna left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@shubhbapna shubhbapna merged commit c10d878 into kiegroup:main Feb 13, 2024
5 checks passed
@TWiStErRob TWiStErRob deleted the lint-fail branch February 13, 2024 18:23
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.

2 participants