nx-examples icon indicating copy to clipboard operation
nx-examples copied to clipboard

chore: add preffer readonly lint rule to test fix

Open distante opened this issue 3 years ago • 2 comments

  1. Call npx nx run-many --target=lint --quiet --skip-nx-cache --all and see how it fails.
  2. Call npx nx run-many --target=lint --quiet --skip-nx-cache --all --fix, it passes.
  3. Call again npx nx run-many --target=lint --quiet --skip-nx-cache --all it still fails

Extra info, I do not use nx globally, that is why I always call npx nx.

When nx is installed globally (I just install it, together with yarn so I could call nx report, --fix changes the files.!

distante avatar Feb 24 '22 08:02 distante

✔️ Deploy Preview for nrwl-nx-examples-dep-graph ready!

🔨 Explore the source changes: cc2f2c49c6705db917ced009a8c868ae288bec2a

🔍 Inspect the deploy log: https://app.netlify.com/sites/nrwl-nx-examples-dep-graph/deploys/6217469f45f7dd0007019550

😎 Browse the preview: https://deploy-preview-190--nrwl-nx-examples-dep-graph.netlify.app

netlify[bot] avatar Feb 24 '22 08:02 netlify[bot]