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

add eslint and set it up in lint-staged and github actions #78

Merged
merged 4 commits into from
Jun 7, 2022

Conversation

il3ven
Copy link
Contributor

@il3ven il3ven commented Jun 6, 2022

This PR fixes #60. It adds the no-console rule to eslint. It also setups eslint to run from lint-staged and github actions.

  • I have not added any rule other than no-console. Since the issue did not demand new rules.
  • I have disabled the no-console rule for test files because we aren't using custom logger for tests. (Example)

Note

I made a few commits to test the CI. The reviewer can squash and merge this PR.

Copy link
Collaborator

@TimDaub TimDaub left a comment

Choose a reason for hiding this comment

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

great, thank you

@TimDaub
Copy link
Collaborator

TimDaub commented Jun 7, 2022

I'm confused as to why unit tests are failing for this branch. But I think it's an isolated issue and so I'll merge this PR and address fixing unit tests elsewhere.

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.

CI isn't failing when console.log is used.
2 participants