DEV Community

Manish Chaudhary
Manish Chaudhary

Posted on

How to show code style issues for dirty files using pint

The command below will list all files that has been changed in git which have code style issues.

vendor/bin/pint --preset=per --dirty --test
Enter fullscreen mode Exit fullscreen mode

The output will look somewhat like this.

Image description

Top comments (0)

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay