Need advice about which tool to choose?Ask the StackShare community!

Prettier

2.2K
424
+ 1
7
Reek

9
17
+ 1
0
Add tool

Prettier vs Reek: What are the differences?

Prettier: 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; Reek: Code smell detector for Ruby. Reek is a tool that examines Ruby classes, modules, and methods and reports any Code Smells it finds.

Prettier and Reek can be categorized as "Code Review" tools.

Prettier and Reek are both open source tools. It seems that Prettier with 32.6K GitHub stars and 1.81K forks on GitHub has more adoption than Reek with 3.09K GitHub stars and 224 GitHub forks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Prettier
Pros of Reek
  • 2
    Customizable
  • 1
    Atom/VSCode package
  • 1
    Follows the Ruby Style Guide by default
  • 1
    Runs offline
  • 1
    Completely free
  • 1
    Open Source
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Sign up to add or upvote consMake informed product decisions

    What is Prettier?

    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.

    What is Reek?

    Reek is a tool that examines Ruby classes, modules, and methods and reports any Code Smells it finds.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Prettier?
    What companies use Reek?
    See which teams inside your own company are using Prettier or Reek.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Prettier?
    What tools integrate with Reek?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Prettier and Reek?
    EditorConfig
    It is a file format and collection of text editor plugins. It helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
    ESLint
    A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
    TSLint
    An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.
    SonarQube
    SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
    Snyk
    Automatically find & fix vulnerabilities in your code, containers, Kubernetes, and Terraform
    See all alternatives