As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit a85a32af authored by Takuya Noguchi's avatar Takuya Noguchi
Browse files

Remove rubocop from Ruby test

parent 2dfa78cc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -9,11 +9,6 @@ engines:
- ruby
fixme:
enabled: true
rubocop:
enabled: true
exclude_paths:
- spec/
- lib/vendor/
- go/vendor/
- tmp/
- coverage/
# Exclude some of GitLab files
AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'spec/**/*'
- 'vendor/**/*'
- 'tmp/**/*'
- 'bin/**/*'
- 'hooks/**/*'
- 'Guardfile'
Layout/DotPosition:
Enabled: false
Lint/AmbiguousBlockAssociation:
Enabled: false
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Style/Documentation:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/GlobalVars:
Enabled: false
Style/AccessorMethodName:
Enabled: false
Style/GuardClause:
Enabled: false
Style/RescueModifier:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Style/SpecialGlobalVars:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Loading
Loading
@@ -2,5 +2,4 @@ source 'https://rubygems.org'
group :development, :test do
gem 'rspec', '~> 3.8.0'
gem 'rubocop', '0.49.1', require: false
end
GEM
remote: https://rubygems.org/
specs:
ast (2.4.0)
diff-lcs (1.3)
parallel (1.12.1)
parser (2.5.1.2)
ast (~> 2.4.0)
powerpack (0.1.2)
rainbow (2.2.2)
rake
rake (12.3.3)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
Loading
Loading
@@ -23,22 +15,12 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
rubocop (0.49.1)
parallel (~> 1.10)
parser (>= 2.3.3.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.9.0)
unicode-display_width (1.4.0)
PLATFORMS
ruby
DEPENDENCIES
rspec (~> 3.8.0)
rubocop (= 0.49.1)
BUNDLED WITH
2.1.4
Loading
Loading
@@ -7,10 +7,7 @@ GOBUILD_FLAGS := -ldflags "-X main.Version=$(VERSION_STRING) -X main.BuildTime=$
validate: verify test
verify: verify_ruby verify_golang
verify_ruby:
bundle exec rubocop
verify: verify_golang
verify_golang:
gofmt -s -l $(GO_SOURCES)
Loading
Loading
Loading
Loading
@@ -48,9 +48,8 @@ Run tests:
bundle install
make test
Run gofmt and rubocop:
Run gofmt:
bundle install
make verify
Run both test and verify (the default Makefile target):
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment