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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With