vendredi 13 février 2015

Can JSHint assert that only specified variables are exported?


JSHint can flag unused variables using the unused option, and you can define certain variables in the exported option to be ignored, if you intend to leave unused and in the global namespace.


Is there a JSHint option to flag all exported variables that are not in the exported list, be they used or unused?





Aucun commentaire:

Enregistrer un commentaire