Rubocop: no trailing newlines
This commit is contained in:
parent
615bb94135
commit
d04344373b
9 changed files with 6 additions and 11 deletions
|
@ -657,7 +657,7 @@ Style/Tab:
|
||||||
Style/TrailingBlankLines:
|
Style/TrailingBlankLines:
|
||||||
Description: 'Checks trailing blank lines and final newline.'
|
Description: 'Checks trailing blank lines and final newline.'
|
||||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Style/TrailingComma:
|
Style/TrailingComma:
|
||||||
Description: 'Checks for trailing comma in parameter lists and literals.'
|
Description: 'Checks for trailing comma in parameter lists and literals.'
|
||||||
|
@ -909,7 +909,7 @@ Lint/StringConversionInInterpolation:
|
||||||
|
|
||||||
Lint/UnderscorePrefixedVariableName:
|
Lint/UnderscorePrefixedVariableName:
|
||||||
Description: 'Do not use prefix `_` for a variable that is used.'
|
Description: 'Do not use prefix `_` for a variable that is used.'
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Lint/UnusedBlockArgument:
|
Lint/UnusedBlockArgument:
|
||||||
Description: 'Checks for unused block arguments.'
|
Description: 'Checks for unused block arguments.'
|
||||||
|
@ -966,7 +966,7 @@ Rails/Delegate:
|
||||||
|
|
||||||
Rails/HasAndBelongsToMany:
|
Rails/HasAndBelongsToMany:
|
||||||
Description: 'Prefer has_many :through to has_and_belongs_to_many.'
|
Description: 'Prefer has_many :through to has_and_belongs_to_many.'
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Rails/Output:
|
Rails/Output:
|
||||||
Description: 'Checks for calls to puts, print, etc.'
|
Description: 'Checks for calls to puts, print, etc.'
|
||||||
|
|
|
@ -15,4 +15,3 @@ class NamespacesController < ApplicationController
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -35,4 +35,3 @@ class Projects::RawController < Projects::ApplicationController
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -254,4 +254,3 @@ module ProjectsHelper
|
||||||
enabled_oauth_providers.include?(:github)
|
enabled_oauth_providers.include?(:github)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -38,4 +38,4 @@ module Oauth2::AccessTokenValidationService
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,4 +9,4 @@ if Gitlab::LDAP::Config.enabled?
|
||||||
server = Gitlab.config.ldap.servers.values.first
|
server = Gitlab.config.ldap.servers.values.first
|
||||||
alias_method server['provider_name'], :ldap
|
alias_method server['provider_name'], :ldap
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -16,4 +16,4 @@ end
|
||||||
|
|
||||||
if File.exist?(Gitlab.config.gitlab_shell.path) && !File.exist?(gitlab_shell_symlink)
|
if File.exist?(Gitlab.config.gitlab_shell.path) && !File.exist?(gitlab_shell_symlink)
|
||||||
FileUtils.symlink(secret_file, gitlab_shell_symlink)
|
FileUtils.symlink(secret_file, gitlab_shell_symlink)
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,4 +9,3 @@ module Gitlab
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,3 @@ module Gitlab
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue