-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on codeclimate.com fails with a FatalError #26
Comments
Thanks for the issue @kimburgess ! I think this has to do with your use of codelyzer, looks like @tkqubo made an issue a while ago to track this: #23 |
It seems I'm getting the same issue but it's not related to coldelyzer. I have received this answer from CodeClimate support :
|
How was that resolved? Because I'm having the same problem.
|
@abalad @pciavald only the following rule sets are supported by codeclimate-tslint: {
"tslint-config-airbnb": "5.0.0",
"tslint-config-standard": "5.0.2",
"tslint-eslint-rules": "4.0.0",
"tslint-react": "3.0.0"
} This is because on codeclimate, they do not re-install your node modules. If you are using another set of rules, it will fail because we only install a select number of tslint presets |
@kyleholzinger Got it. Thanks for the explanation. Now the problem is that probably we need more pre-selected packages. In fact, I am here because I have an issue with The problem is that, in order to make
|
I've got this problem as well. I'm not sure what the package is that's breaking. Any idea how to debug it? |
…nt#26 Can be turned back once tkqubo/codeclimate-tslint#23 is done
…nt#26 Can be turned back once tkqubo/codeclimate-tslint#23 is done
CodeClimate doesn't support a lot of rule sets for now: tkqubo/codeclimate-tslint#26 (comment)
I'm still a bit confused about how this works (or rather doesn't work) - I see PR #41 was merged a few months ago, adding "codelyzer rules"... Should I be able to use these codelyzer rules on CodeClimate now if I specify them it the right way? My current config includes Forgive me if I'm missing obvious points, as I'm not familiar with angular, codelyzer or tslint (I'm implementing a standardized CI pipeline that extends to projects I don't work on). I see @kyleholzinger noted above that only 4 tslint presets were supported, but that was 2 years ago, and I don't know what part of this repository defines which presets are included in that list, or whether they could/do now include codelyzer rules... ?? Any insight on how to get this TSLint running on CodeClimate using codelyzer rules would be appreciated! 😄 |
@mltsy I'm no longer involved with this project anymore, but the |
Thanks for the assistance even though you're not on the project anymore! So from what I understand, because codelyzer is now included as a dependency in package.json, we should be able to use the |
That sounds about right @mltsy! I'm not sure how |
Wow! All I had to do was change |
That project is no longer under active development, but from a quick look at #41 and this comment it seems there should be a high chance this is fixed. I'll close this off so there's not a zombie issue here. |
While the engine works locally (invoked by
codeclimate analyze
), it fails with a FatalError on codeclimate.com.This appears to be to do with the search for the tslint config, but haven't looked too deeply.
Output from the codeclimate.com process:
Source where this can be replicated can be found at https://github.com/acaprojects/a2-portal/.
Quick links to config files of interest at time of this issue (in case they change):
The text was updated successfully, but these errors were encountered: