-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conversation
test/unit/mockapi/mockapi.test.ts
Outdated
@@ -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( |
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.
not sure why we need this invalid? was this to test eslint failing instead of warning?
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.
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.
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.
I know!
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.
LGTM, thank you!
Following up from #74 (comment)
Related reading https://dev.to/thawkin3/eslint-warnings-are-an-anti-pattern-33np