Is it possible to ignore all warnings with jshint without making such a config file:
{
...
"-W039": false
"-W040": false
"-W041": false
"-W042": false
...
}
During development or debugging it can be useful to suppress everything or a part of the file.
Wrap whichever code block you want to ignore in:
/* jshint ignore:start */
<code here>
/* jshint ignore:end */
Don't forget to remove this pre production though!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.