Configuring JSHint in PhpStorm

JSHint is a set of rules by which the code is checked for operability. For example, if you use let, and JSHint on ES5, then an error will be displayed.

To fix this, we can create our own JSHint file. Make your own rules there.

Download a typical config:


In order for PhpStorm to stop swearing in JS files on let, we change the version from the 5th to the 6th:

Hello! You are on my site. I am a developer. Here I share my best practices and knowledge. Ask in the comments if you don’t understand something or write if you have something to add.

Similar Posts

Leave a Reply