Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop IntelliJ 11 adding "use strict" to every nested function definition when JSLint is enabled

Anyone know how to stop IntelliJ 11 automatically adding "use strict" to every nested function definition I create when JSLint is enabled?

I have specified 'use strict' in the outer closure.

like image 575
Stephen Ierodiaconou Avatar asked Apr 11 '12 13:04

Stephen Ierodiaconou


1 Answers

As a workaround you can disable Prefer Strict mode in Settings (Preferences on Mac) | JavaScript (available since IDEA 11.1.1).

Please vote for the issue we've created.

like image 74
CrazyCoder Avatar answered Oct 13 '22 16:10

CrazyCoder