That's not a linting problem that's a formatting problem.
That project should have automatic formatting on save setup.
Linters are not necessarily formatters they're solving two different problems and are becoming increasingly separated in their toolset.
Or on save even. Slow pre commit hooks suckkkk