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!

2 comments
Comment actions Permalink

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

0
Comment actions Permalink

FYI: I finally filed a bug in the issue tracker, see http://youtrack.jetbrains.net/issue/RUBY-6328

0

Please sign in to leave a comment.