Codelyzer: Better logging of errors required

Created on 9 Feb 2017  路  3Comments  路  Source: mgechev/codelyzer

With the new package we get errors like 'You can bind only to public class members.' with occur to happen at line 1, column 1 of the HTML template. But the template has <div class="main-menu-button">on the first line.

If I look to the code of the templatesUsePublicRule the specific member is known. So could we at least have the name of the member or method that is causing the error in the error message and not a generic error?

enhancement P3 first timers

Most helpful comment

Sorry, just had a little baby girl so no spare time left :) But I see somebody else was helpfull!

All 3 comments

Yes, I'll include this in the backlog.

@negberts it'll be amazing if you have time to open a PR! The change will not require deep understanding of the project.

Sorry, just had a little baby girl so no spare time left :) But I see somebody else was helpfull!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bigous picture Bigous  路  4Comments

rolandjitsu picture rolandjitsu  路  5Comments

marbug picture marbug  路  3Comments

davidanaya picture davidanaya  路  4Comments

snebjorn picture snebjorn  路  5Comments