You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When no configuration is supplied, the default behavior of JSHint is to look for ".jshintsrc" up the processed file's hierarchy.
Problem seems to come from 'reporters/jshint/index.js` line #9:
var jsHintOptions = jsHintCli.getConfig(source);
The variable source has the content of the processed file assigned to it. For getConfig to check up the hierarchy of the file, should we supply it with the processed file name instead?:
var jsHintOptions = jsHintCli.getConfig(reportInfo.file);
The file name is found in the parameter 'reportInfo.file'. Unfortunately this parameter has been removed (commented).
Thanks
The text was updated successfully, but these errors were encountered:
When no configuration is supplied, the default behavior of JSHint is to look for ".jshintsrc" up the processed file's hierarchy.
Problem seems to come from 'reporters/jshint/index.js` line #9:
var jsHintOptions = jsHintCli.getConfig(source);
The variable source has the content of the processed file assigned to it. For getConfig to check up the hierarchy of the file, should we supply it with the processed file name instead?:
var jsHintOptions = jsHintCli.getConfig(reportInfo.file);
The file name is found in the parameter 'reportInfo.file'. Unfortunately this parameter has been removed (commented).
Thanks
The text was updated successfully, but these errors were encountered: