StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. DevOps
  3. Code Review
  4. Code Review
  5. Datree vs Prettier

Datree vs Prettier

OverviewDecisionsComparisonAlternatives

Overview

Prettier
Prettier
Stacks13.2K
Followers1.3K
Votes7
GitHub Stars51.1K
Forks4.6K
Datree
Datree
Stacks33
Followers53
Votes0

Prettier vs Datree: What are the differences?

Developers describe Prettier as "Prettier is an opinionated code formatter". Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. On the other hand, Datree is detailed as "Best practices and security policies on each commit". Enforce your development best practices, coding standards, and security policies on every commit. It is a policy enforcement solution for confident and compliant code. It lets Engineering and DevOps leaders accelerate delivery of quality software, and ensure operational efficiency and quality.

Prettier belongs to "Code Review" category of the tech stack, while Datree can be primarily classified under "Tools for GitHub".

Prettier is an open source tool with 35.7K GitHub stars and 2.23K GitHub forks. Here's a link to Prettier's open source repository on GitHub.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Prettier, Datree

Alex
Alex

Software Engineer

Aug 7, 2020

Review

you don't actually have to choose between these tools as they have vastly different purposes. i think its more a matter of understanding how to use them.

while eslint and stylelint are used to notify you about code quality issues, to guide you to write better code, prettier automatically handles code formatting (without notifying me). nothing else.

prettier and eslint both officially discourage using the eslint-plugin-prettier way, as these tools actually do very different things. autofixing with linters on watch isnt a great idea either. auto-fixing should only be done intentionally. you're not alone though, as a lot of devs set this up wrong.

i encourage you to think about what problem you're trying to solve and configure accordingly.

for my teams i set it up like this:

  • eslint, stylelint, prettier locally installed for cli use and ide support
  • eslint config prettier (code formatting rules are not eslints business, so dont warn me about it)
  • vscode workspace config: format on save
  • separate npm scripts for linting, and formatting
  • precommit hooks (husky)

so you can easily integrate with gulp. its just js after all ;)

159k views159k
Comments

Detailed Comparison

Prettier
Prettier
Datree
Datree

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

Prevent Kubernetes misconfigurations from reaching production with Datree’s automated policy checks for your pipeline. The open-source CLI tool empowers engineers to write more stable configurations, so they can actually sleep at night.

An opinionated code formatter; Supports many languages; Integrates with most editors; Has few options; You press save and code is formatted; No need to discuss style in code review; Saves you time and energy
By revealing misconfigurations in seconds and combating the issues in early stages of the pipeline, your organization can enforce its standards and secure its infrastructure from development to production.
Statistics
GitHub Stars
51.1K
GitHub Stars
-
GitHub Forks
4.6K
GitHub Forks
-
Stacks
13.2K
Stacks
33
Followers
1.3K
Followers
53
Votes
7
Votes
0
Pros & Cons
Pros
  • 2
    Customizable
  • 1
    Open Source
  • 1
    Completely free
  • 1
    Runs offline
  • 1
    Follows the Ruby Style Guide by default
No community feedback yet
Integrations
GraphQL
GraphQL
JavaScript
JavaScript
TypeScript
TypeScript
Flow
Flow
Vue.js
Vue.js
AngularJS
AngularJS
markdown
markdown
YAML
YAML
Less
Less
GitHub Actions
GitHub Actions
GitLab CI
GitLab CI
CircleCI
CircleCI
Codeship
Codeship
Bamboo
Bamboo
Kubernetes
Kubernetes
Bitbucket
Bitbucket
Helm
Helm
Jenkins
Jenkins
GitHub
GitHub

What are some alternatives to Prettier, Datree?

Kubernetes

Kubernetes

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.

Rancher

Rancher

Rancher is an open source container management platform that includes full distributions of Kubernetes, Apache Mesos and Docker Swarm, and makes it simple to operate container clusters on any cloud or infrastructure platform.

Docker Compose

Docker Compose

With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.

Code Climate

Code Climate

After each Git push, Code Climate analyzes your code for complexity, duplication, and common smells to determine changes in quality and surface technical debt hotspots.

Docker Swarm

Docker Swarm

Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.

Codacy

Codacy

Codacy automates code reviews and monitors code quality on every commit and pull request on more than 40 programming languages reporting back the impact of every commit or PR, issues concerning code style, best practices and security.

Tutum

Tutum

Tutum lets developers easily manage and run lightweight, portable, self-sufficient containers from any application. AWS-like control, Heroku-like ease. The same container that a developer builds and tests on a laptop can run at scale in Tutum.

Phabricator

Phabricator

Phabricator is a collection of open source web applications that help software companies build better software.

Portainer

Portainer

It is a universal container management tool. It works with Kubernetes, Docker, Docker Swarm and Azure ACI. It allows you to manage containers without needing to know platform-specific code.

PullReview

PullReview

PullReview helps Ruby and Rails developers to develop new features cleanly, on-time, and with confidence by automatically reviewing their code.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

GitHub
Bitbucket

AWS CodeCommit vs Bitbucket vs GitHub

Kubernetes
Rancher

Docker Swarm vs Kubernetes vs Rancher

gulp
Grunt

Grunt vs Webpack vs gulp

Graphite
Kibana

Grafana vs Graphite vs Kibana