Issue with default lint arg "--format=gitlab" when using pnpm
Describe the bug
When using pnpm as package manager, the default lint arg "--format=gitlab" is not interpreted as a pnpm known parameter and so it is appended to the script declared in package.json (for example to eslint).
Expected behavior
--format=gitlab is not appended when invoking lint script declared in package.json
Actual behavior
--format=gitlab is added as an option parameter and it cause lint failure due to an unknown parameter in "eslint" script declared in package.json
Logs and/or screenshots
"scripts": {
"dev": "vite",
"lint": "eslint .",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
...
},
Context & Configuration
Link to a project, pipeline or job facing the bug: (please provide one if possible)
The issue was reproduced using:
The issue was reproduced using:
- Version of the template: 4.1.0
- GitLab server: self-managed server, version CE
