title: How to prevent npm run lint from fixing errors automatically?
body: <p>I created a Vue3 app using the Vue CLI with a Prettier/Eslint setup. When modifying the main.ts file to</p>
  <pre><code>import { createApp } from &quot;vue&quot;;
  import App from &quot;./App.vue&quot;;
  import router from &quot;./router&quot;;
  
  createApp(App)
  .use(router).mount(&quot;#app&quot;);
  </code></pre>
  <p>and run <code>npm run serve</code> I get the following warning</p>
  <blockquote>
  <p>6:15  warning  Delete <code>⏎</code>  prettier/prettier</p>
  </blockquote>
  <p>as expected. Running <code>npm run lint</code> fixes it. But which flag is required to only check for the style?</p>
  <p>I have a GitHub action workflow checking the code style and using <code>npm run lint</code> is wrong because the workflow fixes the code style and passes.</p>
  <p>When searching for a flag I run <code>npx vue-cli-service help lint</code> which tells me to use <code>--no-fix</code></p>
  <p><a href="https://i.stack.imgur.com/sKNMy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sKNMy.png" alt="enter image description here" /></a></p>
  <p>but running <code>npm run lint --no-fix</code> it still fixes the file</p>
  <p><a href="https://i.stack.imgur.com/cr874.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cr874.png" alt="enter image description here" /></a></p>
  <p>So which command should I use inside my GitHub action to ensure the workflow fails on invalid code style?</p>