Open victornoel opened 6 years ago
Hey @tkqubo! Stumbled across this issue because I was also investigating it. I was able to replicate a similar issue on a few open source projects:
https://github.com/ReactiveX/rxjs https://github.com/angular/material2
/usr/src/app/node_modules/tslint/lib/configuration.js:55
throw new error_1.FatalError("Failed to load " + configPath + ": " + error.message, error);
^
Me too! Need any help fixing this?
having the same problem here...
any updates on this? any workarounds? at the moment we are not able to use tslint in codeclimate at all...
Bump. Would be nice to get some sort of feedback on this one.
There seems to be a bunch of issues connected to this problem, such as: https://github.com/tkqubo/codeclimate-tslint/issues/51
Does anybody have any idea why this is happening? I'm having the same problem trying to use "rulesDirectory": ["codelyzer"]
:
FatalError: Failed to load /tmp/codeclimate-tslint/05f2da994f0ff2d0b33365fad2d0b1298e0e03b0f232cb890ff97b4ecc48f69b.json: Could not find custom rule directory: /code/codelyzer
at new FatalError (/usr/src/app/node_modules/tslint/lib/error.js:27:28)
at Object.findConfiguration (/usr/src/app/node_modules/tslint/lib/configuration.js:57:15)
...
Is this an issue with this plugin, or an issue in CodeClimate's plugin system?
I have the following directory structure:
I configured the plugin with
config: frontend/tslint.json
and because my configuration contains:I get the following error when executing the analysis: