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:
|
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
|
|
||||||
|
|
2
Rakefile
2
Rakefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue