【文件属性】:
文件名称:codeclimate-foodcritic:食品气候代码气候引擎
文件大小:24KB
文件格式:ZIP
更新时间:2021-01-30 08:17:15
quality chef-cookbook linting static-code-analysis linter
气候引擎代码以运行
用法
.codeclimate.yml
engines :
foodcritic :
enabled : true
组态
该引擎在其配置中接受tags , cookbook_paths和include_rules 。 所有值都是可选的:
engines :
foodcritic :
enabled : true
config :
tags :
- " ~FC011 "
- " ~FC033 "
cookbook_paths :
- libraries/mysql.rb
- libraries/docker.rb
include_rules :
- rules/my_custom_rule.rb
- rules/my_other_custom_rule.rb
注意: cookbook_paths (定义后)将直接传递给Foodcritic,并且所有计算的include_paths (考虑到您配置的exclude_paths
【文件预览】:
codeclimate-foodcritic-master
----circle.yml(115B)
----.ruby-version(6B)
----base_rubocop.yml(3KB)
----Dockerfile(585B)
----lib()
--------cc()
----Gemfile(94B)
----.codeclimate.yml(205B)
----doc()
--------rules.yml(51KB)
----spec()
--------fixtures()
--------cc()
--------spec_helper.rb(39B)
----LICENSE(1KB)
----README.md(759B)
----.rubocop.yml(240B)
----Makefile(246B)
----Gemfile.lock(1KB)
----bin()
--------codeclimate-foodcritic(313B)