Thanks for the info. I’m not clear what ‘lint’ does - I guess it just skips formatting errors but not code errors?
I use Sublime text editor for python dev and there I can indicate specific lint errors to ignore. Fortunately FDK foes not implement all lint errors or I’d certainly be going crazy! But I was hoping for something similar where I can indicate specific errors to ignore.
Here are a couple examples:
[WARN] app/scripts/app.js::107: 'contact' declared and assigned in different scopes. Possible asynchronous race condition.
If I review and feel the possibility of a race condition is so remote I’m willing to live with it, can I then mark this code line in some way to ignore it? I do like to be warned about this but then I’d like to suppress if I review.
Second, I get warned a lot about functions that have unused variables. For example in fixed callbacks where I don’t have a need for the passed variable. Or in error handling where I just want to write a simple log.
FDK validate is great - I’m thankful for it. SO I don’t like to ask for more. This is not a make or break issue - I can live with it. But I am a bit of a Type A person and so I find myself struggling to get rid of all the errors
posted other topic here: