Giter Site home page Giter Site logo

Comments (8)

gdiggs avatar gdiggs commented on June 8, 2024

@ivantsepp I would love to see an example! At the very least, can you post your .codeclimate.yml file?

from codeclimate-csslint.

ivantsepp avatar ivantsepp commented on June 8, 2024

Of course! I created this testing repo: https://github.com/ivantsepp/codeclimate_test.

What's weird is that if scss-lint is the only gem, this works fine. My guess is that exclude_path is a very big array and somewhere information is being dropped?

from codeclimate-csslint.

mrb avatar mrb commented on June 8, 2024

@ivantsepp It looks like you need to indent your exclude paths here: https://github.com/ivantsepp/codeclimate_test/blob/master/.codeclimate.yml#L12 - try that and let us know if it works. Thanks!

Edited: Oops! I may be wrong about this :) - looking into it.

from codeclimate-csslint.

gdiggs avatar gdiggs commented on June 8, 2024

@ivantsepp Going to look into this today! Will report back with my findings.

from codeclimate-csslint.

jonathancadepowers avatar jonathancadepowers commented on June 8, 2024

@ivantsepp Hey! Thanks for the report, and sorry for the trouble.

We just released a new version of the CLI today (version 0.0.9). Go ahead and try updating and then running a new analysis.

Here are the steps:

  • To update our CLI: brew update && brew upgrade codeclimate.
  • After you update the CLI, next run codeclimate engines:install. That will update the Docker images for the engines.
  • Finally, run codeclimate analyze.

Let us know if that doesn't do the trick.

from codeclimate-csslint.

ivantsepp avatar ivantsepp commented on June 8, 2024

Hmm, still doesn't seem to be working. I dug in a little more

codeclimate_test[master] $ docker run --rm --cap-drop all --label com.codeclimate.label=a9208835-dce4-4e73-b2cb-69c084fbee0f --name cc-engines-csslint-d383ab0d-f149-4179-99d3-9db5496033f6 --memory 512005000 --memory-swap -1 --net none --volume /Users/ivantse/Desktop/codeclimate_test:/code:ro --env-file ~/Desktop/temp.txt codeclimate/codeclimate-csslint printenv
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=d251a2dca775
HOME=/root

It's interesting that ~/Desktop/temp.txt is 65536 characters long. But when I drop it to 65535, printenv works. I hope that information helps! Unfortunately, I don't know docker enough to dig in deeper.

from codeclimate-csslint.

gdiggs avatar gdiggs commented on June 8, 2024

@ivantsepp a ha! Good find. Using the envfile was a workaround for a smaller limit on the number of characters using --env. Looks like we have a more general problem to solve and we will take a look!

from codeclimate-csslint.

gdiggs avatar gdiggs commented on June 8, 2024

@ivantsepp your issue here should be resolved if you update the CLI! Let me know if that's not the case and we can re-open

from codeclimate-csslint.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.