Skip to content

Commit

Permalink
replace hound-tools with newer RuboCop
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Aug 1, 2016
1 parent c6b4cf6 commit 6ae1cf4
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 343 deletions.
2 changes: 1 addition & 1 deletion .hound.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ruby:
enabled: true
config_file: .rubocop_merged_for_hound.yml
config_file: .rubocop.yml

coffee_script:
enabled: true
265 changes: 0 additions & 265 deletions .hound/defaults.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .hound/overrides.yml

This file was deleted.

9 changes: 1 addition & 8 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
inherit_from:
- .hound/defaults.yml
- .hound/overrides.yml
- .rubocop_todo.yml

# Rails cops (so we don't need to run with -R option)
AllCops:
RunRailsCops: true
inherit_from: .rubocop_todo.yml
41 changes: 0 additions & 41 deletions .rubocop_merged_for_hound.yml

This file was deleted.

34 changes: 30 additions & 4 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,37 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2014-12-09 05:16:56 +0100 using RuboCop version 0.25.0.
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-08-01 22:19:42 +0200 using RuboCop version 0.42.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 12
# Configuration parameters: AllowURI.
# Offense count: 1
Metrics/AbcSize:
Max: 19

# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 7

# Offense count: 41
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Max: 163

# Offense count: 5
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 16

# Offense count: 6
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/guard/livereload.rb'
- 'lib/guard/livereload/reactor.rb'
- 'lib/guard/livereload/snippet.rb'
- 'lib/guard/livereload/websocket.rb'
- 'lib/guard/livereload/websocket/dispatcher.rb'
Loading

0 comments on commit 6ae1cf4

Please sign in to comment.