Skip to content

Commit

Permalink
Use Gemfile and rubocop from rakelib
Browse files Browse the repository at this point in the history
  • Loading branch information
diogot committed Apr 28, 2017
1 parent ea50dbe commit a6946e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
@@ -1,5 +1,8 @@
inherit_from: .rubocop_todo.yml

Metrics/LineLength:
Max: 100

Metrics/ParameterLists:
Max: 8

Expand Down
18 changes: 0 additions & 18 deletions .rubocop_todo.yml
Expand Up @@ -6,17 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
Lint/RescueException:
Exclude:
- 'rakelib/setup-project.rake'

# Offense count: 17
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 270

# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Expand All @@ -40,10 +29,3 @@ Style/FrozenStringLiteralComment:
Style/SignalException:
Exclude:
- 'Dangerfile'

# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# SupportedStyles: use_perl_names, use_english_names
Style/SpecialGlobalVars:
Exclude:
- 'Rakefile'
5 changes: 2 additions & 3 deletions Gemfile
Expand Up @@ -6,14 +6,13 @@ ruby '2.4.1'

source 'https://rubygems.org'

eval_gemfile File.join(File.dirname(__FILE__), 'rakelib/Gemfile')

gem 'cocoapods', '1.2.1'
gem 'danger', '4.3.3'
gem 'danger-rubocop', '0.4.0'
gem 'danger-slather', '0.0.6'
gem 'danger-xcode_summary', '0.1.4'
gem 'git', '1.3.0'
gem 'plist', '3.2.0'
gem 'rake', '12.0.0'
gem 'rubocop', '0.48.1'
gem 'xcpretty-json-formatter', '0.1.0'
gem 'xcpretty-travis-formatter', '0.0.4'
2 changes: 1 addition & 1 deletion rakelib
Submodule rakelib updated 2 files
+19 −0 .rubocop.yml
+5 −0 Gemfile

0 comments on commit a6946e2

Please sign in to comment.