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

Added lint enforcements to the patient chart apps #766

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

vasharma05
Copy link
Member

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide.
  • My work includes tests or is validated by existing tests.

Summary

Added lint enforcements to the pre-push, no warnings or lint errors will be allowed to pass.

Changed the lint command to eslint src --ext ts --fix --max-warnings=0.

On a lint warning, the pre-push will fail as follows:
image

Thank you @ZacButko for the heads up.

Screenshots

Related Issue

Other

Copy link
Contributor

@ZacButko ZacButko left a comment

Choose a reason for hiding this comment

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

Nice 👍

@vasharma05 vasharma05 merged commit ad6c885 into master Aug 9, 2022
@vasharma05 vasharma05 deleted the lint-enforcement-patient-chart branch August 9, 2022 17:33
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