Should run necessary linting operations as close to how they are run in CI as possible, and vice versa.
Suggestions from verytactical:
- Use proper TS instead of Bash scripts to list changed files (example)
- Combine scripts into one
.ts script to conserve github runners. Same script must be used on CI and for husky. Split into several PRs, migrating CI jobs one by one. Include
- Ensure there is a centralized API for reporting issues and their fixes to Github.
- Change CI job to use this script. Do Node.js install as the first action to ensure it's cached and works faster.
- Call the script from a
prepush husky hook. Do not add any precommit hooks, as they interfere with git rebase.
Should run necessary linting operations as close to how they are run in CI as possible, and vice versa.
Suggestions from
verytactical:.tsscript to conserve github runners. Same script must be used on CI and for husky. Split into several PRs, migrating CI jobs one by one. Includecspell-lib)prepushhusky hook. Do not add anyprecommithooks, as they interfere withgit rebase.