That’s a pretty reductive attitude towards linters. If writing Go (for example), linters will tell you if you have ineffective assignments, or have neglected to check an error value - both things that may well block releases.
While one could argue these are the job of the compiler, they are not today, and so linting during CI is not only appropriate, but practically required.