Enable Style/SpaceBeforeComment rubocop cop

See #17478
This commit is contained in:
Grzegorz Bizon 2016-05-30 14:36:28 +02:00
parent 43c35b0f20
commit 53bf080f67
3 changed files with 3 additions and 3 deletions

View File

@ -574,7 +574,7 @@ Style/SpaceBeforeComma:
# Checks for missing space between code and a comment on the same line.
Style/SpaceBeforeComment:
Enabled: false
Enabled: true
# Checks that exactly one space is used between a method name and the first
# argument for method calls without parentheses.

View File

@ -71,7 +71,7 @@ Doorkeeper.configure do
# The value can be any string. Use nil to disable this feature. When disabled, clients must provide a valid URL
# (Similar behaviour: https://developers.google.com/accounts/docs/OAuth2InstalledApp#choosingredirecturi)
#
native_redirect_uri nil#'urn:ietf:wg:oauth:2.0:oob'
native_redirect_uri nil # 'urn:ietf:wg:oauth:2.0:oob'
# Specify what grant flows are enabled in array of Strings. The valid
# strings and the flows they enable are:

View File

@ -27,7 +27,7 @@ class EventFilter
@params = if params
params.dup
else
[]#EventFilter.default_filter
[] # EventFilter.default_filter
end
end