Core: implement more linting suggestions

15 jobs for arm_linter in 28 minutes and 10 seconds (queued for 4 seconds)