Closed afeld closed 8 years ago
...but was able to verify locally.
$ docker run \
--interactive --tty --rm \
--env CODECLIMATE_CODE="$PWD" \
--volume "$PWD":/code \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume /tmp/cc:/tmp/cc \
codeclimate/codeclimate analyze
Starting analysis
Running duplication: Done!
Running eslint: Done!
Running fixme: Done!
Running shellcheck: Done!
Analysis complete! Found 0 issues.
This looks good, but shouldn't we add a ruby engine or two?
We don't have any Ruby in there yet, but I suppose we will soon enough. Added!
Can I just say? :clap:
Ready! I also set up the pull request integration, but not sure why it isn't appearing here.
A couple of engines that I wanted to enable but couldn't:
markdownlint
: the rules aren't configurable yet, and they enforce line length default, which I'm pretty strongly opposed to.nodesecurity
: it complains that there isn't apackage.json
at the top level of the repository. I kinda like keeping tests/dependencies scoped to each task directory, so probably just going to skip this engine.