2 Replies Last post: Jul 1, 2010 2:31 PM by Kai Schlichting  
Kai Schlichting Newbie 7 posts since
Sep 7, 2009
Currently Being Moderated

Feb 4, 2010 12:05 PM

JavaScript Inspection: Errors for 'Unneeded comma' and 'Unused paramaters'

Hi!

 

I am searching in the settings where I can change the "level" for the inspection warnings mentioned above. Per default, they seems to be only warnings, I would like to get an error at this point. For example, the following code only raise warnings but I want errors:

 

function(unusedParam){
  return [1,2,3,];
}

 

In the inspection tab of the settings, these two inspection options aren't listed, where should I search for it?

 

Thx!

Roman.Chernyatchik  JetBrains 1,452 posts since
Sep 18, 2007
Currently Being Moderated
Feb 9, 2010 3:40 PM in response to: Kai Schlichting
Re: JavaScript Inspection: Errors for 'Unneeded comma' and 'Unused paramaters'

Unused parameters

Screen shot 2010-02-09 at 3.31.21 PM.png

or

 

Screen shot 2010-02-09 at 3.33.21 PM.png

Unneeded comma

It seems you cannot configure warning level for it, please file an issue in our bug tracker - http://youtrack.jetbrains.net/issues/RUBY

More Like This

  • Retrieving data ...