1) have a linter - e.g. `eslint` with minimal configuration 2) checks when a PR is opened
eslintwith minimal configuration