Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
otherguy committed Sep 5, 2024
1 parent ac5936e commit e365932
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
22 changes: 7 additions & 15 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,35 +1,27 @@
sonar.projectKey=otherguy_rspec-sonarqube-formatter
sonar.organization=otherguy

sonar.host.url=https://sonarcloud.io

sonar.organization=otherguy
sonar.projectKey=otherguy_rspec-sonarqube-formatter
sonar.projectName=rspec-sonarqube-formatter
sonar.projectVersion=

sonar.language=ruby

sonar.pullrequest.provider=GitHub
sonar.pullrequest.github.repository=otherguy/rspec-sonarqube-formatter

# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=rspec-sonarqube-formatter

# Exclude coverage
sonar.exclusions=spec
sonar.sourceEncoding=UTF-8

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.projectBaseDir=.
sonar.sources=lib
sonar.tests=spec
sonar.test.inclusions=**/*_spec.rb

# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

# Test report XML
sonar.testExecutionReportPaths=test-report.xml

sonar.ruby.coverage.reportPaths=coverage/coverage.json
sonar.ruby.rubocop.reportPaths=rubocop-result.json

sonar.coverage.inclusions=lib

# External links
sonar.links.issue=https://github.com/otherguy/rspec-sonarqube-formatter/issues
sonar.links.scm=https://github.com/otherguy/rspec-sonarqube-formatter
3 changes: 0 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
# ignore common ruby and ruby on rails files in test coverage
add_filter 'Gemfile'

# Ignore Specs/tests themselves
add_filter 'spec'

formatter SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::JSONFormatter,
Expand Down

0 comments on commit e365932

Please sign in to comment.