diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..cfafa253d --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,8 @@ +## Front-end checklist + + +- [ ] This pull request is replacing `lodash.get` with optional chaining and nullish coalescing for modified code segments +- [ ] This pull request is adding missing TypeScript types to modified code segments where it's easy to do so with confidence +- [ ] This pull request is using `memo` or `PureComponent` to define new React components (and updates existing usages in modified code segments) +- [ ] This pull request is not importing anything from client-core directly (use `superdeskApi`) +- [ ] This pull request is importing UI components from `superdesk-ui-framework` and `superdeskApi` when possible instead of using ones defined in this repository.