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) Various tooling tweaks #93

Merged
merged 4 commits into from
Dec 6, 2024
Merged

(chore) Various tooling tweaks #93

merged 4 commits into from
Dec 6, 2024

Conversation

denniskigen
Copy link
Member

@denniskigen denniskigen commented Dec 4, 2024

This commit includes the following changes to the tooling used in this project:

  • Update ESLint config with import and react-hooks plugins
  • Add turborepo for build caching and script parallelization
  • Align TypeScript and Jest configs with OpenMRS standards
  • Separate linting from formatting scripts so they can be run separately as described in similar PRs for other OpenMRS frontend modules
  • Update Yarn to latest stable version
  • Remove redundant Webpack scriptRuleConfig override
  • Add a prettier config and run Prettier across the project for consistent automated code formatting

This aligns our tooling configuration with other OpenMRS frontend modules, improving consistency across the ecosystem.

This commit includes the following changes to the tooling used in this project:

- Update ESLint config with `import` and `react-hooks` plugins
- Add turborepo for build caching and script parallelization
- Align TypeScript and Jest configs with OpenMRS standards
- Separate linting from formatting scripts so they can be run separately as described in [similar PRs](openmrs/openmrs-esm-patient-chart#1774) for other OpenMRS frontend modules
- Update Yarn to latest stable version
- Remove redundant Webpack `scriptRuleConfig` override

This aligns our tooling configuration with other OpenMRS frontend modules, improving consistency across the ecosystem.
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
Copy link
Contributor

Choose a reason for hiding this comment

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

Same concern here about the testing eslint plugins

Copy link
Contributor

@NethmiRodrigo NethmiRodrigo 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! LGTM! Same few concerns that I had in the other PR

src/cohort-builder.tsx Outdated Show resolved Hide resolved
src/cohort-builder.utils.ts Outdated Show resolved Hide resolved
src/components/composition/composition.component.tsx Outdated Show resolved Hide resolved
src/components/composition/composition.utils.ts Outdated Show resolved Hide resolved
@denniskigen denniskigen merged commit 16185d3 into main Dec 6, 2024
5 checks passed
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