Unibeautify
  • Install
  • Docs
  • Assistant
  • Playground
  • GitHub

›About

About

  • What is Unibeautify
  • Unibeautify CI
  • Credits

Usage

  • Getting Started
  • Command-Line Interface (CLI)
  • Configuration File
  • Language Options
  • Beautifier Options
  • Supported Languages
  • Editor Integration

Contributing

  • Examples

Integrations

  • GitHub
  • GitLab
  • Bitbucket

Beautifiers

  • Black
  • Brittany
  • ClangFormat
  • CSScomb
  • ESLint
  • Gofmt
  • JS-Beautify
  • PHP-CS-Fixer
  • PHP_CodeSniffer
  • Prettier
  • Pretty Diff
  • sqlformat
  • stylelint
  • TSLint
  • YAPF
Edit

What is Unibeautify

Unibeautify is a universal code beautifier.

The one beautifier to rule them all!

Unibeautify joins multiple beautifiers into one unified experience.

diagram

"Beautifier" will refer to either a code formatter (e.g. Prettier) or linter with fix mode enabled (e.g. eslint --fix).

Let's say you want to use multiple beautifiers to format the code in your project, which use multiple languages. For example, for your JavaScript you may format using Prettier and ESLint. You may also have Python code you format with autopep8 or C++ code you format with ClangFormat.

Each of these beautifiers support different options, languages, and editor integrations. With Unibeautify, this experience is made consistent.

Let's consider Atom editor integration.

Atom PackagePrettierESLintAutopep8ClangFormat
atom-beautify (Unibeautify for Atom)✅✅✅✅
prettier-atom✅✅❌❌
linter-eslint❌✅❌❌
python-autopep8❌❌✅❌
clang-format❌❌❌✅

Unibeautify does not handle any of the code formatting itself. Instead Unibeautify focuses on managing the underlying beautifiers and providing an exceptional user experience regardless of languages or beautifiers involved.

Unibeautify CI →
Unibeautify
Docs
Getting StartedCLIConfigurationOptions
Community
User ShowcaseStack Overflow@Unibeautify on TwitterFollow Unibeautify on Twitter
More
GitHubStar Unibeautify on GitHubCode coverage of UnibeautifyCode coverage of Unibeautify
© 2020 Glavin Wiechert
Credits