26.08.2014, 17:54, "Till Schneidereit" <[email protected]>:
On Tue, Aug 26, 2014 at 3:38 PM, Alex Kocharin <[email protected]> wrote:
 
> use developer tools such as linters. Those certainly should warn about code like that.
 
I was trying to find such a tool a few days ago (after similar error was fixed in bunyan), and I found nothing:
 
 
So I agree that it should be catched by linters, but there are no good linters as of now. :(
 
That's bad. Did you file bugs against at least the more popular tools?
 
Yes, I did, for example https://github.com/eslint/eslint/issues/987 - for the second mentioned issue in my gist. But in reality linters seem to be focusing on code style enforcement, not on static analysis, which is a shame.
 
If someone wants to develop a proper static analysis tool without style checking crap by default, I'd really like to assist.
 
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to