jonra1993 / sonarqube-react-webapp

Static Analysis Project Using SonarQube in a React Webapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This project has been created as part of this medium post as a way to run a static analysis for a React webapp. It can be usefull in any node project too.

Installation

Please run the following commands to run this code.

git clone https://github.com/jonra1993/sonarqube-react-webapp.git
cd sonarqube-react-webapp
yarn install
yarn start

Start SonarQube server

docker-compose up

Setup SonarQube project

You can find more instruction on how to acomplish this in my post here

Run Scan

yarn sonar

License

License

About

Static Analysis Project Using SonarQube in a React Webapp

License:MIT License


Languages

Language:TypeScript 40.8%Language:HTML 31.7%Language:CSS 17.1%Language:JavaScript 10.4%