Skip to content

Commit

Permalink
Sonar linting steps (#727)
Browse files Browse the repository at this point in the history
* Update supercharge-your-dev-environment.md

added in details on connecting to SonarCloud

* Update supercharge-your-dev-environment.md

added link to SonarCloud connection steps

* Update supercharge-your-dev-environment.md

fell afoul of linting rules!

* Update supercharge-your-dev-environment.md

and again!

* Update supercharge-your-dev-environment.md

??
  • Loading branch information
josequervo2 authored Feb 14, 2025
1 parent 8e7ab78 commit d766a15
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/supercharge-your-dev-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,21 @@ Alternatively, you add the following to your [settings.json file](https://code.v
"typescript.format.semicolons": "insert"
}
```

### Linting Sonar rules

Include the following extension in your IDE installation: [SonarQube for IDE](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarlint-vscode)

Update your [settings.json file](https://code.visualstudio.com/docs/getstarted/settings#_settings-json-file) to include the following

```json
"sonarlint.connectedMode.connections.sonarcloud": [
{
"connectionId": "DfE",
"organizationKey": "dfe-digital",
"disableNotifications": false
}
]
```

Then follow [these steps](https://youtu.be/m8sAdYCIWhY) to connect to the SonarCloud instance.

0 comments on commit d766a15

Please sign in to comment.