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
- Host: GitHub
- URL: https://github.com/devpro/sonar-samples
- Owner: devpro
- License: mit
- Created: 2019-11-06T11:22:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T11:34:13.000Z (about 3 years ago)
- Last Synced: 2025-04-06T07:43:12.187Z (10 months ago)
- Topics: angular, angularjs, dotnet, dotnet-core, nodejs, sonar
- Language: JavaScript
- Size: 2.99 MB
- Stars: 3
- Watchers: 1
- Forks: 32
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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