1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

Use warn over stderr; Fix Rubocop errors.

This commit is contained in:
tmilewski 2017-12-27 13:18:31 -05:00
parent 1b6582e4c0
commit 23e50a19df
No known key found for this signature in database
GPG key ID: 60478E252CC674E7
2 changed files with 10 additions and 10 deletions

View file

@ -1,3 +1,12 @@
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/DotPosition:
EnforcedStyle: trailing
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Lint/HandleExceptions: Lint/HandleExceptions:
Enabled: false Enabled: false
@ -22,9 +31,6 @@ Metrics/ParameterLists:
Metrics/AbcSize: Metrics/AbcSize:
Enabled: false Enabled: false
Style/AccessModifierIndentation:
EnforcedStyle: outdent
Style/CollectionMethods: Style/CollectionMethods:
PreferredMethods: PreferredMethods:
map: 'collect' map: 'collect'
@ -35,9 +41,6 @@ Style/CollectionMethods:
Style/Documentation: Style/Documentation:
Enabled: false Enabled: false
Style/DotPosition:
EnforcedStyle: trailing
Style/DoubleNegation: Style/DoubleNegation:
Enabled: false Enabled: false
@ -55,6 +58,3 @@ Style/Lambda:
Style/RaiseArgs: Style/RaiseArgs:
EnforcedStyle: compact EnforcedStyle: compact
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

View file

@ -10,7 +10,7 @@ begin
RuboCop::RakeTask.new RuboCop::RakeTask.new
rescue LoadError rescue LoadError
task :rubocop do task :rubocop do
$stderr.puts 'RuboCop is disabled' warn 'RuboCop is disabled'
end end
end end