Comments (8)
@ivantsepp I would love to see an example! At the very least, can you post your .codeclimate.yml file?
from codeclimate-csslint.
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.
@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.
@ivantsepp Going to look into this today! Will report back with my findings.
from codeclimate-csslint.
@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.
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.
@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.
@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)
- Codeclimate tries to lint comments? HOT 1
- Poor performance when viewing pages with many errors HOT 1
- csslint doesn't respect exclude_paths HOT 2
- csslint attempts to lint files that are not .css files HOT 1
- Push updated image to dockerhub HOT 1
- This engine shows wrong lines of css-code or doesn't show any HOT 2
- Running ccslint on codeclimate CLI crashes oddly HOT 9
- Strange alphabetical sorting rules HOT 2
- Nokogiri error in engine HOT 17
- Unknown svg properties false-positive HOT 6
- Where to take list of rules & how to disable particular rules HOT 4
- Parsing error on all my CSS files HOT 1
- .csslintrc not working when it's in a directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeclimate-csslint.