Does codex have a good way of doing post process hooks? For Claude Code hooks I never found a way to run a formatter over only the file that was edited. It’s super annoying as I want to constantly have linting and formatting cleaned up right after the model finishes editing a file…
Check out lint-staged in npm. You can configure it so it will run even if the files aren’t staged, thus linting any changed files.