Hi,
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's "license-header" in Hawkular and
BTM, and "no-trailing-comma" in BTM only.
Not sure if we have some custom "license-header" rule, Mike ? For the
"no-trailing-comma", it should be replaced by what's used in hawkular:
"trailing-comma": [false, {"multiline": "always",
"singleline": "never"}],
Regards,
Alexandre
On Mon, Feb 22, 2016 at 9:59 AM, Gary Brown <gbrown(a)redhat.com> wrote:
Hi
I'm getting a similar error:
[ERROR]
/home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29
[ERROR] throw new Error(errorMessage);
[ERROR] ^
[ERROR]
[ERROR] Error: Could not find the following rules specified in the
configuration:
[ERROR] no-trailing-comma
[ERROR] license-header
[ERROR] at Object.loadRules
(/home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29:15)
[ERROR] at Linter.lint
(/home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/tslint.js:24:44)
The build was fine on Friday, but now does not work :(
Regards
Gary
----- Original Message -----
> Hey,
>
> was trying to re-activate the exp-explorer branch on Hawkular for some
> pet project.
> Rebased onto current master and got this on a a mvn -Pdev clean install
> in console
> module.
>
> Any idea what this error wants to tell me?
>
> [INFO] [22:48:22] Starting 'copy-vendor-fonts'...
> [INFO] [22:48:22] git log -n 1 --pretty='%h' (log : false)
> [INFO] [22:48:22] Finished 'git-sha' after 288 ms
> [ERROR]
>
/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29
> [ERROR] throw new Error(errorMessage);
> [ERROR] ^
> [ERROR]
> [ERROR] Error: Could not find the following rules specified in the
> configuration:
> [ERROR] license-header
> [ERROR] at Object.loadRules
>
(/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29:15)
> [ERROR] at Linter.lint
>
(/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/tslint.js:24:44)
> [ERROR] at
>
/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/index.js:96:34
> [ERROR] at respond
>
(/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/index.js:73:7)
> [ERROR] at respond
>
(/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:140:7)
> [ERROR] at
>
/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:124:17
> [ERROR] at
>
/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:77:13
> [ERROR] at doNTCallback0 (node.js:419:9)
> [ERROR] at process._tickCallback (node.js:348:13)
> [INFO]
> ------------------------------------------------------------------------
>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev