<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi,<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">This issue seems to be caused by TSLint 3.4.0 which introduced a feature to throw an error in case there are nonexistent rules defined in the tslint.json file. In these cases, it&#39;s &quot;license-header&quot; in Hawkular and BTM, and &quot;no-trailing-comma&quot; in BTM only.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Not sure if we have some custom &quot;license-header&quot; rule, Mike ? For the &quot;no-trailing-comma&quot;, it should be replaced by what&#39;s used in hawkular:<br><br>&quot;trailing-comma&quot;: [false, {&quot;multiline&quot;: &quot;always&quot;, &quot;singleline&quot;: &quot;never&quot;}],<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Regards,<br></div><div class="gmail_default" style="font-family:monospace,monospace">Alexandre<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 9:59 AM, Gary Brown <span dir="ltr">&lt;<a href="mailto:gbrown@redhat.com" target="_blank">gbrown@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I&#39;m getting a similar error:<br>
<br>
[ERROR] /home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29<br>
<span class="">[ERROR]         throw new Error(errorMessage);<br>
[ERROR]         ^<br>
[ERROR]<br>
[ERROR] Error: Could not find the following rules specified in the configuration:<br>
</span>[ERROR] no-trailing-comma<br>
[ERROR] license-header<br>
[ERROR]     at Object.loadRules (/home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29:15)<br>
[ERROR]     at Linter.lint (/home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/tslint.js:24:44)<br>
<br>
The build was fine on Friday, but now does not work :(<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Gary<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
&gt; Hey,<br>
&gt;<br>
&gt; was trying to re-activate the exp-explorer branch on Hawkular for some<br>
&gt; pet project.<br>
&gt; Rebased onto current master and got this on a a mvn -Pdev clean install<br>
&gt; in console<br>
&gt; module.<br>
&gt;<br>
&gt; Any idea what this error wants to tell me?<br>
&gt;<br>
&gt; [INFO] [22:48:22] Starting &#39;copy-vendor-fonts&#39;...<br>
&gt; [INFO] [22:48:22] git log -n 1 --pretty=&#39;%h&#39; (log : false)<br>
&gt; [INFO] [22:48:22] Finished &#39;git-sha&#39; after 288 ms<br>
&gt; [ERROR]<br>
&gt; /h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29<br>
&gt; [ERROR]         throw new Error(errorMessage);<br>
&gt; [ERROR]         ^<br>
&gt; [ERROR]<br>
&gt; [ERROR] Error: Could not find the following rules specified in the<br>
&gt; configuration:<br>
&gt; [ERROR] license-header<br>
&gt; [ERROR]     at Object.loadRules<br>
&gt; (/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29:15)<br>
&gt; [ERROR]     at Linter.lint<br>
&gt; (/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/tslint.js:24:44)<br>
&gt; [ERROR]     at<br>
&gt; /h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/index.js:96:34<br>
&gt; [ERROR]     at respond<br>
&gt; (/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/index.js:73:7)<br>
&gt; [ERROR]     at respond<br>
&gt; (/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:140:7)<br>
&gt; [ERROR]     at<br>
&gt; /h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:124:17<br>
&gt; [ERROR]     at<br>
&gt; /h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:77:13<br>
&gt; [ERROR]     at doNTCallback0 (node.js:419:9)<br>
&gt; [ERROR]     at process._tickCallback (node.js:348:13)<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; hawkular-dev mailing list<br>
&gt; <a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
&gt;<br>
_______________________________________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
</div></div></blockquote></div><br></div>