Fix SonarCloud configuration and fenced code blocks
This commit is contained in:
1
.github/workflows/code-quality.yml
vendored
1
.github/workflows/code-quality.yml
vendored
@@ -50,6 +50,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: https://sonarcloud.io
|
||||
|
||||
codacy:
|
||||
name: Codacy Analysis
|
||||
|
||||
@@ -273,6 +273,7 @@ To ensure your code passes the quality checks from these tools, follow these gui
|
||||
* Copy the output from the code quality tool and paste it into your AI assistant chat
|
||||
* Ask the AI to help you understand and resolve the issues
|
||||
* Example prompt:
|
||||
|
||||
```text
|
||||
I received the following feedback from [Tool Name]. Please help me understand and resolve these issues:
|
||||
|
||||
|
||||
17
sonar-project.properties
Normal file
17
sonar-project.properties
Normal file
@@ -0,0 +1,17 @@
|
||||
sonar.projectKey=wpallstars_wp-plugin-starter-template-for-ai-coding
|
||||
sonar.organization=wpallstars
|
||||
|
||||
# This is the name and version displayed in the SonarCloud UI.
|
||||
sonar.projectName=wp-plugin-starter-template-for-ai-coding
|
||||
sonar.projectVersion=0.1.10
|
||||
|
||||
# Path is relative to the sonar-project.properties file
|
||||
sonar.sources=.
|
||||
sonar.php.coverage.reportPaths=coverage.xml
|
||||
sonar.php.tests.reportPath=test-report.xml
|
||||
|
||||
# Encoding of the source code. Default is default system encoding
|
||||
sonar.sourceEncoding=UTF-8
|
||||
|
||||
# Exclude directories
|
||||
sonar.exclusions=vendor/**,node_modules/**,tests/**,bin/**,build/**,dist/**
|
||||
@@ -273,6 +273,7 @@ To ensure your code passes the quality checks from these tools, follow these gui
|
||||
* Copy the output from the code quality tool and paste it into your AI assistant chat
|
||||
* Ask the AI to help you understand and resolve the issues
|
||||
* Example prompt:
|
||||
|
||||
```text
|
||||
I received the following feedback from [Tool Name]. Please help me understand and resolve these issues:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user