Skip to content

Commit

Permalink
Update config after testing locally.
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Kilby <rob@openbook-software.co.uk>
  • Loading branch information
robkilby committed Mar 29, 2017
1 parent 542d4f4 commit 55ffb93
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,6 @@ Style/Encoding:
Style/ExtraSpacing:
AllowForAlignment: false

# This cop makes sure that Ruby source files have snake_case names. Ruby scripts (i.e. source files with a shebang in
# the first line) are ignored.
#
# It also requires that each source file should define a class or module with a name which matches the file name
# (converted to ... case). It further expects it to be nested inside modules which match the names of subdirectories in
# its path.
Style/FileName:
ExpectMatchingDefinition: true

# This cop checks hash literal syntax. A separate offense is registered for each problematic pair.
#
# EnforcedStyle: ruby19_no_mixed_keys - forces use of ruby 1.9 syntax and forbids mixed syntax hashes.
Expand Down Expand Up @@ -197,6 +188,10 @@ Style/InverseMethods:
:present?: :blank?,
:include?: :exclude?

# TODO: This cop is disabled until a bug is patched on v0.48.0 where it flags setters.
Style/MethodCallWithArgsParentheses:
Enabled: false

# Checks for `if` / `case` expressions that do not have an `else` branch.
#
# Only configured to check for `case` statements. It's best practice to always provide a default for `case` statements.
Expand Down

0 comments on commit 55ffb93

Please sign in to comment.