policial:查看对样式指南违规的请求请求

时间:2024-02-22 02:49:37
【文件属性】:

文件名称:policial:查看对样式指南违规的请求请求

文件大小:44KB

文件格式:ZIP

更新时间:2024-02-22 02:49:37

ruby rubocop style-guide linter code-review

政策性 :police_officer: Policial是调查拉动请求并指责样式指南违规的瑰宝。 它基于thinkbot的。 它目前支持RuboCop,SCSS和CoffeeLint。 安装 将此行添加到您的应用程序的Gemfile中: gem 'policial' 然后执行: $ bundle 或自己安装为: $ gem install policial 用法 首先,实例化一个新的侦探: detective = Policial :: Detective . new 您可能需要使用您的GitHub凭据传递一个Octokit客户端。 有关此的更多信息,请检查。 octokit = Octokit :: Client . new ( access_token : 'mygithubtoken666' ) detective = Policial :: Detective . new ( octokit ) 如果您未通过Octokit客户端,则Policial将使用全局Octokit配置。 让我们调查一下! 首先向您的侦探介绍将要进行调查的请求请求。 您可以手动设置拉


【文件预览】:
policial-master
----LICENSE.txt(1KB)
----.ruby-version(6B)
----lib()
--------policial()
--------policial.rb(566B)
----Gemfile(161B)
----spec()
--------detective_spec.rb(5KB)
--------violation_spec.rb(2KB)
--------limits_checker_spec.rb(1KB)
--------pull_request_spec.rb(1KB)
--------linters()
--------style_checker_spec.rb(3KB)
--------commit_spec.rb(3KB)
--------spec_helper.rb(289B)
--------patch_spec.rb(653B)
--------commit_file_spec.rb(2KB)
--------investigation_result_spec.rb(100B)
--------support()
--------pull_request_event_spec.rb(2KB)
----Rakefile(206B)
----.travis.yml(70B)
----README.md(4KB)
----.rubocop.yml(88B)
----policial.gemspec(881B)
----.rspec(31B)
----Gemfile.lock(2KB)
----.gitignore(119B)

网友评论