I am getting following error on codeclimate, can anybody help me in this
Parsing error: Cannot find module 'babel-plugin-root-import' Require stack: - /usr/local/node_modules/@babel/core/lib/config/files/plugins.js -…
I'm using Python Black to automatically reduce line length to 88 but the pep8 linter enforces a 79 character limit. I want to turn this off
My .codeclimate.yaml file starts with:
engines:
pep8:
enabled: true
checks:
E501: # Line…
in gitlab, I have a pipeline which generate a code climate report, supposed to be displayed in the gitlab widget.
The report is successfully generated (I added cat code-quality.json but I have the message «Failed to load codeclimate report».
When I…
We have a reducer that has 350 or so lines. Our function limit is 75 (eslint) so we get the too many lines error. We also get too many return statements, but this is a reducer and that is not a problem. How do we ignore these CodeClimate errors in…
Сan you please guide me on how to reduce the full test coverage threshold in the config file in the repository? I had 33% full coverage in some project, my edits reduced it to 0.2, and I would like to say to codeclimate that this is acceptable
I…
I'm trying to upload code coverage data from Heroku-CI to Code Climate and I'm running into a problem. The Code Climate uploader seems to expect the project to be a git repository and somehow Heroku-CI removed the .git folder.
When it runs, I get…
I've got an app which is connected to CodeClimate and it shows me an error Method upstream_transactions has a Cognitive Complexity of 6 (exceeds 5 allowed) with marked below code:
def upstream_transactions(bank_account:, external_account:,…
I have trouble setting up the following environment. I’d like to quickly check the code quality of a few SASS files in my local GitLab repository. This is the contents of the .gitlab-ci.yml file:
include:
- template:…
After setting up Gitlab CI with its Code Climate integration, the CI pipeline generates a code quality report in the form of a JSON file.
Now I wonder: is there some kind of tool to visualize the report therein? Having to work with the raw JSON data…
Warnings like this keep popping up in Code Climate for my project:
File YummySearchComponent.php has 360 lines of code (exceeds 250
allowed). Consider refactoring.
Method getYummyHelperData has 43 lines of code (exceeds 25 allowed). Consider…
I use react & flux to develop my frontend web app:
So I define the constants like this:
/js/constants/AppConstants.js
const KeyMirror = require('keymirror');
module.exports = {
PayloadSources: KeyMirror({
SERVER_ACTION: null,
VIEW_ACTION:…
I am trying to make CodeClimate happy but it detects duplication inside in object: https://codeclimate.com/github/FNNDSC/vjs/src/helpers/helpers.lut.js
static presetLuts() {
return {
'default': [[0, 0, 0, 0], [1, 1, 1, 1]],
…
I'm trying to get CodeClimate's code coverage to work on my GitHub Repo. Travis CI doesn't find the lcov.info file that is generated by Karma after testing. I tried using a glob like this answer but even codeclimate-test-reporter < **/*lcov.info…
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_climate:
repo_token: [ my token ]
Everything in my…
Currently i'm creating ci/cd for my gitlab, using gitlab runner and code_quality.
https://docs.gitlab.com/ee/ci/testing/code_quality.html
so inside the gitlab runner, we running in docker:stable
and code_quality using codeclimate/codeclimate…