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 allowed). Consider refactoring.
We would like to…
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 warned of an issue:
Missing frozen string literal…
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/test_reports.
HTTP 409: A test report for commit…
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 create a code climate issue in my opinion.
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 supported feature according Code Climate and Travis…
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 tests on CI, set the CODECLIMATE_REPO_TOKEN…
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 (perfect).
But, it seems that it doesn"t check…
In my stylelintrc.js
module.exports = {
"extends": [
"stylelint-config-standard",
"stylelint-config-css-modules",
],
"plugins": [
"stylelint-performance-animation",
],
...
In codeclimat.yaml i turn on stylelint engine and take…
My current workflow is github PRs and Builds tested on Travis CI, with tox testing pytest and reporting coverage to codeclimate.
travis.yml
os:
- linux
sudo: false
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "pypy3"
- "pypy3.3-5.2-alpha1"
-…
Codeclimate analysis runs for every pull request that is raised. However, I would like it to skip the analysis when changes are done to files under the excluded folders.
Is it possible to configure such behaviour? The aim is to reduce the time…
Nowhere in Codeclimate docs written how to specify coverage formatter. But when I'm trying to send coverage to Codeclimate:
./cc-test-reporter before-build
./cc-test-reporter after-build
It is failing:
Error: could not find any viable formatter.…
I'm facing with the following problem, trying to execute code climate reporter on .travis.yml:
Code Climate encountered an exception: CodeClimate::TestReporter::InvalidPayload No source files were found in the test report payload
Is there anybody…
I try to install Codeclimate via docker by reading the Codeclimate readme docs.
In order to test Codeclimate locally. I made a new folder and put hello.php and .codeclimate.yml.
The following is my hello.php
Looking for some clarity around a few of these codeclimate ESLINT issues. They are lacking documentation on http://eslint.org/docs/rules/.
I'm hesitant on just "excluding" or removing them from the .eslintrc as I'm sure they have worth, I just can't…
I'm trying to set up CI on existing projects, some use CoffeeScript, some use ES6 syntax. But I can't find a way to get a proper code coverage on the actual code. All I have is the coverage on the transpiled code and it seems I can't even post that…