Skip to content
SPECIFICTION
Get listed

Prettier vs stylish-haskell

Prettier

prettier.io

stylish-haskell

github.com

Side by side

FigurePrettierstylish-haskell
Price fromFree—
Free planYes—
Free trial——
Open sourceYes—
WebYes—
WindowsYesYes
macOSYes—
LinuxYesYes
APIYes—
Self-hostedYes—
Plans published20
Spec score · Code Formatting Tools8.5 (#2)6.8 (#30)
ConfigurationConfiguration can use JSON, YAML, TOML, JavaScript or TypeScript files, with overrides for selected files and directories.Formatting is customizable through YAML configuration files, with settings available at directory, project, user, or default level.
Editor integrationsThe official site lists integrations or support for VS Code, WebStorm, Visual Studio, Vim, Emacs, Sublime Text, Nova and Espresso.The README documents integration with Haskell Language Server, Vim, Emacs, Atom, and Visual Studio Code.

Plans

Prettier

  • Open-source PrettierFree
  • PrettierFree

Prettier pricing →

stylish-haskell

No plans published.

stylish-haskell pricing →

In their own words

Prettier

Prettier is an open-source code formatter that parses source files and prints them in a consistent style while accounting for line length. Its built-in languages include JavaScript, JSX, Angular, Vue, Flow, TypeScript, CSS, Less, SCSS, HTML, JSON, GraphQL, Markdown, YAML, LWC, and MJML. The command-line interface can write formatted files with --write or check formatting with --check in continuous integration. Listed editor integrations include VS Code, Emacs, Vim, Helix, Sublime Text, JetBrains IDEs, Visual Studio, and Espresso; formatting can run from a shortcut or on save. Prettier has configuration options but keeps them limited. Plugins can add languages and formatting rules, and languages outside the built-in set require a plugin. For ESLint integration, the installation guidance recommends eslint-config-prettier to disable rules that are unnecessary or may conflict. Prettier supports browser and JavaScript API use, along with Linux, macOS, and Windows. The listed plan is free. Commercial support and maintenance are available through the Tidelift Subscription.

Visit prettier.io

stylish-haskell

stylish-haskell has no write-up on Specifiction yet; its figures are above.

Visit github.com