code-climate Questions
4
I created a new migration, it looks like this one:
class AddCommentsToUsers < ActiveRecord::Migration
def change
add_column :users, :comments, :text
end
end
Now with Code Climate I am warn...
Livelihood asked 9/5, 2016 at 18:27
2
We're adding CodeClimate to a project and running into a lot of method-lines errors for the render functions in our React components,
example:-
Function render has 78 lines of code (exceeds 40 all...
Lintwhite asked 2/7, 2018 at 14:27
2
Solved
I setup code quality step, following this gitlab doc (very poor doc):
https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html
Now the code quality step runs and I get the report ...
Py asked 11/10, 2018 at 4:53
2
I am using code climate for code quality and test coverage. I have added the gem and code in spec_helper.rb to start the coverage. In the next step code as per the documentation:
When you run your ...
Clergy asked 16/9, 2015 at 12:24
2
Solved
I'm trying to make my Travis CI send test coverage data to Code Climate service, but documentation on Code Climate and Travis CI do not describe in detail how to do this using Python. Still its sup...
Spatiotemporal asked 26/6, 2016 at 23:10
0
Is it possible to configure code climate, so it does not count lines only logging?
I like the idea of having a threshold per function, lets say 25 lines, but adding verbose logging should not crea...
Sargassum asked 3/7, 2018 at 8:21
0
I am using cc-test-reporter to upload the test coverage result to Code Climate from CircleCI
But running the same build fails with the message:
Error: response from https://api.codeclimate.com/v1...
Juicy asked 24/7, 2017 at 8:36
2
Solved
I have followed the instructions to add CodeClimate to my .travis.yml file:
language: node_js
script:
- gulp
- npm test
after_script:
- codeclimate < coverage/**/lcov.info
addons:
code_clim...
Comment asked 10/4, 2015 at 16:26
1
© 2022 - 2024 — McMap. All rights reserved.