forked from medplum/medplum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsweep.yaml
11 lines (10 loc) · 804 Bytes
/
sweep.yaml
1
2
3
4
5
6
7
8
9
10
11
# Reference: https://github.com/sweepai/sweep/blob/main/.github/sweep.yaml. If you use this be sure to frequently sync your default branch(main, master) to dev.
branch: 'main'
gha_enabled: True
description: 'In the packages directory, a file will usually have tests located in the same folder. Please make sure we update the tests in this case. For example if you modify packages/fhir-router/src/urlrouter.ts, you should check packages/fhir-router/src/urlrouter.tests.ts in case we need to test the new code. We care about test coverage, so if you add a separate execution path, add a new test rather than replacing the logic.'
sandbox:
install:
- npm i
check:
- npx prettier --write {file_path}
- 'npx eslint --rule "@typescript-eslint/no-redundant-type-constituents: off" {file_path}'