Created by: MartijnCuppens
Closes #27973 (closed)
The linting taks are now ran before anything is pushed which will help us with builds that fail because of trivial lint errors.
I preferred the pre-push
option above the pre-commit
option because all linting tasks take about 9 seconds to complete which could be annoying.
This PR also contains a commit which parallelizes the linting tasks. This decreases the time from around 9 seconds to 4-5 seconds.
Not sure if we should add the --fix
command which automatically fixes fixable linting errors (like fixing the property order). Maybe we could add an additional command for it?
TODO:
-
Add documentation once we've decided how we're going to implement it.