Skip to content

Commit

Permalink
fixed rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
lindt committed Aug 11, 2016
1 parent 520a273 commit c9f250e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2016-08-11 02:19:03 +0200 using RuboCop version 0.29.1.
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-08-11 02:27:52 +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: 1
Metrics/AbcSize:
Max: 17
Max: 16

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 121

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

# Offense count: 2
Style/RegexpLiteral:
MaxSlashes: 0

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/SignalException:
Enabled: false
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'lib/gherkin_lint/linter/file_name_differs_feature_name.rb'
2 changes: 1 addition & 1 deletion lib/gherkin_lint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def analyze(file)
end

def parse(file)
to_json(File.read file)
to_json File.read(file)
end

def report
Expand Down

0 comments on commit c9f250e

Please sign in to comment.