jscs-dev / jscs-jsdoc

JsDoc validation rules for jscs
MIT License
99 stars 35 forks source link

Fix scope for arrow functions #173

Closed webuniverseio closed 8 years ago

webuniverseio commented 9 years ago

Fixes the issue mentioned in #163

webuniverseio commented 9 years ago

Hm, old node versions don't like arrow functions and io is probably missing 'use strict';. What should I do? :)

qfox commented 9 years ago

Atm I'm just making a string (code: '...') in cases with es6 instead of raw code wrapped to function (code: function () { ... }).

webuniverseio commented 9 years ago

@zxqfox :+1: