Prepare repository for running RuboCop after every push to Gerrit

For now ignoring all problems.

Bug: 69245
Change-Id: Id1164187eddc6dcb006ca771d62ca867677213f9
This commit is contained in:
Željko Filipin 2014-10-21 15:04:12 +02:00
parent 12450117ae
commit ce58cbc738
4 changed files with 58 additions and 0 deletions

1
.rubocop.yml Normal file
View File

@ -0,0 +1 @@
inherit_from: .rubocop_todo.yml

39
.rubocop_todo.yml Normal file
View File

@ -0,0 +1,39 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2014-10-21 15:03:04 +0200 using RuboCop version 0.26.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
# Cop supports --auto-correct.
Style/EmptyLines:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
Style/LeadingCommentSpace:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
Style/SpaceAroundOperators:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForEmptyBraces, SupportedStyles.
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
Style/StringLiterals:
EnforcedStyle: double_quotes
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/TrailingBlankLines:
Enabled: false

View File

@ -4,3 +4,4 @@
source "https://rubygems.org"
gem "mediawiki_selenium"
gem "rubocop", require: false

View File

@ -1,6 +1,9 @@
GEM
remote: https://rubygems.org/
specs:
ast (2.0.0)
astrolabe (1.3.0)
parser (>= 2.2.0.pre.3, < 3.0)
builder (3.2.2)
childprocess (0.5.3)
ffi (~> 1.0, >= 1.0.11)
@ -54,17 +57,30 @@ GEM
watir-webdriver (>= 0.6.9)
page_navigation (0.9)
data_magic (>= 0.14)
parser (2.2.0.pre.4)
ast (>= 1.1, < 3.0)
slop (~> 3.4, >= 3.4.5)
powerpack (0.0.9)
rainbow (2.0.0)
rest-client (1.7.2)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0)
rubocop (0.26.1)
astrolabe (~> 1.3)
parser (>= 2.2.0.pre.4, < 3.0)
powerpack (~> 0.0.6)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.4)
ruby-progressbar (1.6.0)
rubyzip (1.1.6)
selenium-webdriver (2.42.0)
childprocess (>= 0.5.0)
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0.4)
slop (3.6.0)
syntax (1.2.0)
unf (0.1.4)
unf_ext
@ -79,3 +95,4 @@ PLATFORMS
DEPENDENCIES
mediawiki_selenium
rubocop