2

codeclimate cliを使用してコードをローカルで分析しようとしています。私は Mac OS X 10.10.3 を使用しています。ここで推奨されているように、 boot2dockerを使用しています。

これまでのところすべて良い。実行codeclimate initして .codeclimate.yml ファイルを生成し、微調整しました。次のようになります。

---
engines:
  phpcodesniffer:
    enabled: true
  coffeelint:
    enabled: true
  eslint:
    enabled: true
  csslint:
    enabled: true
ratings:
  paths:
  - "**.php"
  - "**.coffee"
  - "**.js"
  - "**.jsx"
  - "**.css"
exclude_paths:
- node_modules/**/*
- vendor/**/*
- etc/**/*
- .vagrant/**/*

その後、私は実行codeclimate engines:installし、これが私の出力です:

Pulling docker images.
WARNING: unknown engine name: phpcodesniffer
...

最後に、codeclimate engines:list出力:

Available engines: - bundler-audit: Patch-level verification for Bundler - coffeelint: A style checker for CoffeeScript - csslint: Automated linting of Cascading Stylesheets - eslint: A JavaScript/JSX linting utility - gofmt: gofmt - golint: golint - govet: govet - rubocop: A Ruby static code analyzer, based on the community Ruby style guide. - rubymotion: Rubymotion-specific rubocop checks - watson: A young Ember Doctor to help you fix your code.

私は何を間違っていますか?このエンジンはどのようにインストールすればよいですか?

よろしくお願いします

4

1 に答える 1