Disable spotless in VS Code


I have setup the VS Code IDE according to the Visual Studio Code | openHAB and it works when I compile with F5 or Ctrl+F5.
But every time I compile the … spotless is runing and giving me error when the smallest thing is not as it would like it.
The terminal says “Executing task: mvn -o clean install -DskipChecks”
If we run from the command line I can use “-Dspotless.check.skip=true” to disable the check but how to I make VS Code do the same ?

I believe you can edit the .vscode/tasks.json file and add extra arguments to “mvn Compile (Offline)”