I was ignorant to linting in general so I went on a small path to understand how the agent does linting.
You may find thi thread I had with Composer interesting with respect to guiding it to the linting behavior you want: