jshint sees 'i18n' variable as useless

Issue #78 wontfix
Vasyl Zuzyak repo owner created an issue
ts1:
     [exec] build/output//lss.strip.ajs: line 4320, col 5, The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.
     [exec] build/output//lss.strip.ajs: line 17, col 9, 'i18n' is defined but never used.
     [exec] 
     [exec] 2 errors
     [exec] Result: 2

Comments (2)

  1. Vasyl Zuzyak reporter

    seems that jshint works buggy with 'unused', 'i81n' and whole stuff. eslint?

    with new version of grunt-strip-code plugin we need to create separate marker for stripping those vars (i18n+color) before sending result file to lint tools

  2. Log in to comment