Software Alternatives & Reviews

Prettier VS SonarQube

Compare Prettier VS SonarQube and see what are their differences

Prettier logo Prettier

An opinionated code formatter

SonarQube logo SonarQube

SonarQube, a core component of the Sonar solution, is an open source, self-managed tool that systematically helps developers and organizations deliver Clean Code.
  • Prettier Landing page
    Landing page //
    2022-06-27
  • SonarQube Landing page
    Landing page //
    2023-07-12

SonarQube, a core component of the Sonar solution, is an open source, self-managed tool that systematically helps developers and organizations deliver Clean Code. SonarQube integrates into the developers' CI/CD pipeline and DevOps platform to detect and help fix issues in the code while performing continuous inspection of projects.

Supported by the Sonar Clean as You Code methodology, only code that meets the defined quality standard can be released to production. SonarQube analyzes the most popular programming languages, frameworks, and infrastructure technologies and supports over 5,000 Clean Code rules.

Trusted by 7 million developers and 400,000 organizations globally to clean more than half a trillion lines of code, Sonar has become integral to delivering better software.

Explore our pricing and request an evaluation: https://www.sonarsource.com/plans-and-pricing/

Prettier videos

Code Formatting with Prettier in Visual Studio Code

More videos:

  • Review - ESLint + Prettier + VS Code — The Perfect Setup
  • Review - Miranda Lambert -- Only Prettier [REVIEW/RATING]

SonarQube videos

What is SonarQube?

More videos:

  • Tutorial - What is SonarQube? How to configure a maven project for Code Coverage | Tech Primers
  • Tutorial - How to analyze code quality using SonarQube | Easy tutorial

Category Popularity

0-100% (relative to Prettier and SonarQube)
Code Coverage
44 44%
56% 56
Code Analysis
40 40%
60% 60
Developer Tools
100 100%
0% 0
Code Review
0 0%
100% 100

User comments

Share your experience with using Prettier and SonarQube. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Prettier and SonarQube

Prettier Reviews

We have no reviews of Prettier yet.
Be the first one to post

SonarQube Reviews

5 Best DevSecOps Tools in 2023
Whereas OWASP ZAP scans your website once it has been deployed (known as dynamic code scanning), SonarQube/SonarCloud is a product/service that will scan the source code itself before it is deployed and alert on any possible security issues related to the source code. This is known as static code scanning. It looks for things that can be exploited. Things such as not...
Ten Best SonarQube alternatives in 2021
Other critical elements to bear in mind even as mastering alternatives to SonarQube embody Integration and initiatives. We have compiled a listing of SonarQube alternatives that reviewers voted for because of the excellent standard options to employ instead of SonarQube.
Source: duecode.io
TOP 40 Static Code Analysis Tools (Best Source Code Analysis Tools)
It is possible to integrate it into Visual Studio, IntelliJ IDEA, and other widespread IDE. The results of the analysis can be imported into SonarQube.
Top 4 Open Source Security Testing Tools to Test Web Application
Though written in Java, it can analyze over twenty different programming languages. It can easily integrate with continuous integration tools like Jenkins server, etc. The results will be populated to the SonarQube server with ‘green’ and ‘red lights’.
11 Interesting Tools for Auditing and Managing Code Quality
SonarQube is the most popular code quality and security analysis tool in the market. With the support of the open-source community, Sonarqube presently can analyze and produce outputs for over 25 programming languages, which are higher than most tools in the market.
Source: geekflare.com

Social recommendations and mentions

Based on our record, Prettier seems to be a lot more popular than SonarQube. While we know about 255 links to Prettier, we've tracked only 1 mention of SonarQube. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Prettier mentions (255)

  • To Review or Not to Review: The Debate on Mandatory Code Reviews
    Automating code checks with static code analysis allows us to enforce code styling effectively. By integrating tools into our workflow, we can identify errors at an early stage, while coding instead of blocking us at the end. For instance, flake8 checks Python code for style and errors, eslint performs similar checks for JavaScript, and prettier automatically formats code to maintain consistency. - Source: dev.to / 4 days ago
  • Setting up Doom Emacs for Astro Development
    So anyways, I wanted to hook up Emacs with Astro support. For now, I've just been roughing it out there and running Prettier by itself and turning off save on format and auto-complete. It's been scary. - Source: dev.to / 5 days ago
  • Biome.js : Prettier+ESLint killer ?
    If you're a developer, you're surely familiar with Prettier and ESLint. With over 8 years of existence, they have established themselves as references in the JavaScript ecosystem. - Source: dev.to / 9 days ago
  • How to use Lefthooks in your node project?
    No formatting inconsistencies: The committed code should follow the organization's code formatting standards(prettier or pretty-quick). - Source: dev.to / 16 days ago
  • Git Project Configuration With Husky and ESLint
    Let’s walk through the steps for a one-time setup to configure husky pre-commit and pre-push hooks, ESLint with code styles conventions, prettier code formatter, and lint-staged. Husky automatically runs a script on each commit or push. This is useful for linting files to enforce code styles that keeps the entire code base following conventions. - Source: dev.to / 19 days ago
View more

SonarQube mentions (1)

  • Google: C++20, How Hard Could It Be
    Even for Java, C# and JS we do enforce such kind of rules, e.g. https://sonarqube.org. - Source: Hacker News / over 1 year ago

What are some alternatives?

When comparing Prettier and SonarQube, you can also consider the following products

ESLint - The fully pluggable JavaScript code quality tool

Codacy - Automatically reviews code style, security, duplication, complexity, and coverage on every change while tracking code quality throughout your sprints.

Tailwind CSS - A utility-first CSS framework for rapidly building custom user interfaces.

CodeClimate - Code Climate provides automated code review for your apps, letting you fix quality and security issues before they hit production. We check every commit, branch and pull request for changes in quality and potential vulnerabilities.

Next.js - A small framework for server-rendered universal JavaScript apps

Checkmarx - The industry’s most comprehensive AppSec platform, Checkmarx One is fast, accurate, and accelerates your business.