add sonar to readme

This commit is contained in:
Ean Milligan (Bastion) 2022-09-03 04:49:35 -04:00
parent b2b6af90ce
commit 85cb556763
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Path to sources # Path to sources
sonar.sources=. sonar.sources=.
sonar.exclusions=emojis #sonar.exclusions=
#sonar.inclusions= #sonar.inclusions=
# Path to tests # Path to tests
@ -13,4 +13,4 @@ sonar.sourceEncoding=UTF-8
# Exclusions for copy-paste detection # Exclusions for copy-paste detection
# src/commands/rollHelp.ts, src/commands/rollDecorators.ts are excluded to get rid of the duplicate code compliant. Sonar does not like you initializing JSON in ts files. # src/commands/rollHelp.ts, src/commands/rollDecorators.ts are excluded to get rid of the duplicate code compliant. Sonar does not like you initializing JSON in ts files.
sonar.cpd.exclusions=src/commands/rollHelp.ts,src/commands/rollDecorators.ts #sonar.cpd.exclusions=

View File

@ -1,2 +1,6 @@
# SweeperBot # Sweeper Bot | V0.2.0 - 2022/09/03
[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-orange.svg)](https://sonarcloud.io/summary/new_code?id=SweeperBot)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=SweeperBot&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=SweeperBot) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=SweeperBot&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=SweeperBot) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=SweeperBot&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=SweeperBot) [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=SweeperBot&metric=bugs)](https://sonarcloud.io/summary/new_code?id=SweeperBot) [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=SweeperBot&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=SweeperBot) [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=SweeperBot&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=SweeperBot)
A Utility Bot for the Destiny 2 clan, -Midnight Coup- A Utility Bot for the Destiny 2 clan, -Midnight Coup-