Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off JSHint error in Webstorm?

I have the following error for my files in tests: Expected an assignment or function call and instead saw an expression. It is generated from Chai libraries asserts. How can I turn it off in Webstorm? It makes the line yellow and shows a warning.

like image 426
VuesomeDev Avatar asked Feb 17 '15 18:02

VuesomeDev


1 Answers

It's for phpstorm

Disable JSHint and configure its behavior in PhpStorm In the Settings/Preferences dialog ⌘ , go to Languages and Frameworks | JavaScript | Code Quality Tools | JSHint.

On the JSHint page that opens, Unselect the Enable checkbox.

Refer link: https://www.jetbrains.com/help/phpstorm/jshint.html

enter image description here

like image 51
Jai Kumaresh Avatar answered Sep 29 '22 22:09

Jai Kumaresh