diff --git a/.rubocop.yml b/.rubocop.yml deleted file mode 100644 index a12c4e2b90..0000000000 --- a/.rubocop.yml +++ /dev/null @@ -1,30 +0,0 @@ -inherit_from: .rubocop_todo.yml - -AllCops: - StyleGuideCopsOnly: true - Include: - - 'Gemfile' - - 'Rakefile' - - '.jsduck/CustomTags.rb' - Exclude: - - 'node_modules/**/*' - - 'vendor/**/*' - - 'lib/ve/**/*' - -Metrics/LineLength: - Max: 100 - -Metrics/MethodLength: - Enabled: false - -Style/Alias: - Enabled: false - -Style/SignalException: - Enabled: false - -Style/StringLiterals: - EnforcedStyle: single_quotes - -Style/TrivialAccessors: - ExactNameMatch: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml deleted file mode 100644 index c5dd97034c..0000000000 --- a/.rubocop_todo.yml +++ /dev/null @@ -1,70 +0,0 @@ -# This configuration was generated by -# `rubocop --auto-gen-config` -# on 2017-11-28 12:08:04 -0800 using RuboCop version 0.51.0. -# 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: 4 -# Cop supports --auto-correct. -# Configuration parameters: AllowForAlignment. -Layout/SpaceAroundOperators: - Exclude: - - '.jsduck/CustomTags.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -# SupportedStyles: space, no_space -Layout/SpaceInsideStringInterpolation: - Exclude: - - '.jsduck/CustomTags.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. -Lint/UnusedMethodArgument: - Exclude: - - '.jsduck/CustomTags.rb' - -# Offense count: 3 -# Configuration parameters: Blacklist. -# Blacklist: END, (?-mix:EO[A-Z]{1}) -Naming/HeredocDelimiterNaming: - Exclude: - - '.jsduck/CustomTags.rb' - -# Offense count: 1 -# Configuration parameters: MinBodyLength. -Style/GuardClause: - Exclude: - - '.jsduck/CustomTags.rb' - -# Offense count: 4 -# Cop supports --auto-correct. -# Configuration parameters: SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. -# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys -Style/HashSyntax: - EnforcedStyle: hash_rockets - -# Offense count: 4 -# Cop supports --auto-correct. -Style/PerlBackrefs: - Exclude: - - '.jsduck/CustomTags.rb' - -# Offense count: 6 -# Cop supports --auto-correct. -# Configuration parameters: AllowMultipleReturnValues. -Style/RedundantReturn: - Exclude: - - '.jsduck/CustomTags.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. -# SupportedStyles: single_quotes, double_quotes -Style/StringLiterals: - Exclude: - - '.jsduck/CustomTags.rb' diff --git a/Gemfile b/Gemfile deleted file mode 100644 index dbe1ab9549..0000000000 --- a/Gemfile +++ /dev/null @@ -1,5 +0,0 @@ -source 'https://rubygems.org' - -gem 'commons_upload', '~> 1.2', '>= 1.2.1' -gem 'rake', '~> 10.4', '>= 10.4.2' -gem 'rubocop', '~> 0.51', :require => false diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 33c65ab119..0000000000 --- a/Gemfile.lock +++ /dev/null @@ -1,52 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - ast (2.3.0) - commons_upload (1.2.1) - mediawiki_api (~> 0.7.1) - domain_name (0.5.20170404) - unf (>= 0.0.5, < 1.0.0) - faraday (0.14.0) - multipart-post (>= 1.2, < 3) - faraday-cookie_jar (0.0.6) - faraday (>= 0.7.4) - http-cookie (~> 1.0.0) - faraday_middleware (0.12.2) - faraday (>= 0.7.4, < 1.0) - http-cookie (1.0.3) - domain_name (~> 0.5) - mediawiki_api (0.7.1) - faraday (~> 0.9, >= 0.9.0) - faraday-cookie_jar (~> 0.0, >= 0.0.6) - faraday_middleware (~> 0.10, >= 0.10.0) - multipart-post (2.0.0) - parallel (1.12.0) - parser (2.4.0.2) - ast (~> 2.3) - powerpack (0.1.1) - rainbow (2.2.2) - rake - rake (10.5.0) - rubocop (0.51.0) - parallel (~> 1.10) - parser (>= 2.3.3.1, < 3.0) - powerpack (~> 0.1) - rainbow (>= 2.2.2, < 3.0) - ruby-progressbar (~> 1.7) - unicode-display_width (~> 1.0, >= 1.0.1) - ruby-progressbar (1.9.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.7.5) - unicode-display_width (1.3.0) - -PLATFORMS - ruby - -DEPENDENCIES - commons_upload (~> 1.2, >= 1.2.1) - rake (~> 10.4, >= 10.4.2) - rubocop (~> 0.51) - -BUNDLED WITH - 1.16.1