Skip to content Skip to sidebar Skip to footer

How To Turn Off JSHint Error?

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

Solution 1:

Here's how you can silence it inside of a .jshintrc file.

{
  ...
  "expr": true
  ...
}

Source: http://jshint.com/docs/options/#expr


Solution 2:


Post a Comment for "How To Turn Off JSHint Error?"