diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:53:27 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:53:27 -0800 |
commit | d04344373b899c1e54948ca46478f7b907a576d2 (patch) | |
tree | 598e2383d7c40f3263f08d40edc256fb82a09c76 /.rubocop.yml | |
parent | 615bb941358389a1fdfec34abc6af8b61db75580 (diff) | |
download | gitlab-ce-d04344373b899c1e54948ca46478f7b907a576d2.tar.gz |
Rubocop: no trailing newlines
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 1b62416f74c..965a52c7552 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -657,7 +657,7 @@ Style/Tab: Style/TrailingBlankLines: Description: 'Checks trailing blank lines and final newline.' StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof' - Enabled: false + Enabled: true Style/TrailingComma: Description: 'Checks for trailing comma in parameter lists and literals.' @@ -909,7 +909,7 @@ Lint/StringConversionInInterpolation: Lint/UnderscorePrefixedVariableName: Description: 'Do not use prefix `_` for a variable that is used.' - Enabled: false + Enabled: true Lint/UnusedBlockArgument: Description: 'Checks for unused block arguments.' @@ -966,7 +966,7 @@ Rails/Delegate: Rails/HasAndBelongsToMany: Description: 'Prefer has_many :through to has_and_belongs_to_many.' - Enabled: false + Enabled: true Rails/Output: Description: 'Checks for calls to puts, print, etc.' |