JS Bin Warning: Bad descent EOL. Use the multistr option if necessary.

This is a warning caused by fragments like:

a="hello\ world" 

Apparently, JsBin does not support the line continuation character unless a specific option is given.

How to set the specified multi-line option?

Thanks.

+7
source share
1 answer

I don't know if you need this anymore, but use: /*jshint multistr: true */

Example:

 /*jshint multistr: true */ var data = "multiline \ text \ here."; 

It will simply remove the warning.

+23
source

All Articles