groupe-sii / sonar-web-frontend-reporters

This is a repo of SII continuous integration build system dedicated to Front-end webapps.
22 stars 10 forks source link

Default rulesFile #1

Closed ValentinGot closed 7 years ago

ValentinGot commented 8 years ago

Default rulesFile property aren't working.

graflann commented 8 years ago

I encountered this as well. The rulesFile value needs to be an object with a configuration key/value, per the gulp-tslint docs: [https://github.com/panuhorsmalahti/gulp-tslint](). Looking at the src, the rulesFile value is passed directly into the gulp-tslint instance and doesn't resolve properly without the nested configuration.

This configuration key needs to resolve to a value of either a string literal path or an object containing the rules key/value, rulesDirectory key/value, etc.

Hope it helps.

ValentinGot commented 7 years ago

Now working on 3.0.0-beta