An open API service indexing awesome lists of open source software.

https://github.com/devpro/sonar-samples

Samples of projects to use with SonarSource scanner
https://github.com/devpro/sonar-samples

angular angularjs dotnet dotnet-core nodejs sonar

Last synced: 9 months ago
JSON representation

Samples of projects to use with SonarSource scanner

Awesome Lists containing this project

README

          

# Sample projects for SonarSource scanner

Samples of projects to use with SonarSource scanner.

## Requirements

This setup is necessary to run Sonar scanner on the different projets.

- Sonar scanner runtime
- [Java RE](https://java.com/en/download/)

- For .NET applications
- [.NET Core SDK](https://dotnet.microsoft.com/download)
- [dotnet format global tool](https://github.com/dotnet/format): `dotnet tool install -g dotnet-format`
- [SonarScanner for MSBuild](https://sonarcloud.io/documentation/analysis/scan/sonarscanner-for-msbuild)
- [dotnet sonarscanner global tool](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/): `dotnet tool install --global dotnet-sonarscanner`

- For Javascript applications
- [Node.js/NPM](https://nodejs.org/)
- [NPM module to run SonarQube/SonarCloud analyses](https://www.npmjs.com/package/sonarqube-scanner): `npm install -g sonarqube-scanner`
- [Angular local setup](https://angular.io/guide/setup-local): `npm install -g @angular/cli`

## Projects

Name | Language | Description
---- | -------- | -----------
[Simple Node.js app](./nodejs/simple-app/README.md) | Node.js | Simple web application (1 file)
[ASP.NET 4.5 MVC app](./dotnet/WebApp45/README.md) | .NET Framework | ASP.NET 4.5 MVC application created from VS 2019 template
[ASP.NET Core Razor app](./dotnetcore/WebAppRazor/README.md) | .NET Core | ASP.NET Core 3.0 Razor application created from VS 2019 template
[Simple AngularJS app](./angularjs/simple-app/README.md) | AngularJS | Simple web application (1 file)
[Simple Angular app](./angular/simple-app/README.md) | Angular | Simple web application