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) Configure prettier #103

Merged
merged 1 commit into from
Apr 4, 2024
Merged

(chore) Configure prettier #103

merged 1 commit into from
Apr 4, 2024

Conversation

denniskigen
Copy link
Member

@denniskigen denniskigen commented Apr 4, 2024

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 and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

Although Prettier is set up in this project, we don't have a corresponding Prettier config file. In this PR, I've added a config file with the configuration options we use across our key repositories.

I've also removed the following plugins from ESLint :

  • ts-react-important-stuff - which is quite dated at this point, and can be swapped out with a combination of ESLint's and @typescript-eslint/eslint-plugin's recommended configs. I intend to introduce these in a subsequent PR.
  • plugin:prettier/recommended - because we don't want to mix formatting and linting concerns. I have a subsequent PR on the way that will further decouple ESLint and Prettier.

Screenshots

Related Issue

Other

Copy link
Member

@mogoodrich mogoodrich left a comment

Choose a reason for hiding this comment

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

Thanks @denniskigen !

@denniskigen denniskigen merged commit 2d9abe7 into main Apr 4, 2024
4 checks passed
@denniskigen denniskigen deleted the chore/prettier branch April 4, 2024 18:06
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