我只是尝试使用[医]硬膜在本地分析我的代码。我使用的是MacOSX10.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.
我做错了什么?我该如何安装这台发动机?
事先非常感谢
发布于 2015-06-24 16:42:58
我们(Code )最近发布了phpcodesniffer引擎,您的本地Climate版本可能需要更新以了解它。
我刚刚更新了我们的文档,以解释如何运行更新:发动机
https://stackoverflow.com/questions/31012722
复制相似问题