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:
parent
1b6582e4c0
commit
23e50a19df
2 changed files with 10 additions and 10 deletions
18
.rubocop.yml
18
.rubocop.yml
|
@ -1,3 +1,12 @@
|
|||
Layout/AccessModifierIndentation:
|
||||
EnforcedStyle: outdent
|
||||
|
||||
Layout/DotPosition:
|
||||
EnforcedStyle: trailing
|
||||
|
||||
Layout/SpaceInsideHashLiteralBraces:
|
||||
EnforcedStyle: no_space
|
||||
|
||||
Lint/HandleExceptions:
|
||||
Enabled: false
|
||||
|
||||
|
@ -22,9 +31,6 @@ Metrics/ParameterLists:
|
|||
Metrics/AbcSize:
|
||||
Enabled: false
|
||||
|
||||
Style/AccessModifierIndentation:
|
||||
EnforcedStyle: outdent
|
||||
|
||||
Style/CollectionMethods:
|
||||
PreferredMethods:
|
||||
map: 'collect'
|
||||
|
@ -35,9 +41,6 @@ Style/CollectionMethods:
|
|||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Style/DotPosition:
|
||||
EnforcedStyle: trailing
|
||||
|
||||
Style/DoubleNegation:
|
||||
Enabled: false
|
||||
|
||||
|
@ -55,6 +58,3 @@ Style/Lambda:
|
|||
|
||||
Style/RaiseArgs:
|
||||
EnforcedStyle: compact
|
||||
|
||||
Style/SpaceInsideHashLiteralBraces:
|
||||
EnforcedStyle: no_space
|
||||
|
|
2
Rakefile
2
Rakefile
|
@ -10,7 +10,7 @@ begin
|
|||
RuboCop::RakeTask.new
|
||||
rescue LoadError
|
||||
task :rubocop do
|
||||
$stderr.puts 'RuboCop is disabled'
|
||||
warn 'RuboCop is disabled'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue