Skip to content
This repository was archived by the owner on Oct 15, 2026. It is now read-only.
ditojsPublic archive
forked from prettier/prettier

About

Penere is now prettier-plugin-penere: https://github.com/ditojs/prettier-plugin-penere

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

9,811 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Penere

Important

Penere is now a plugin for stock Prettier: prettier-plugin-penere. This fork is no longer maintained.

A code formatter based on Prettier, but designed to be less opinionated and a bit more expressive.

Intro

Just like Prettier from which it was forked, Penere is a somewhat 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.

Input

foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());

Output

foo(
  reallyLongArg(),
  omgSoManyParameters(),
  IShouldRefactorThis(),
  isThereSeriouslyAnotherOne(),
);

Penere can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!


Documentation

Install · Options · CLI · API

Playground


Badge

Show the world you're using Penere → code style: penere

[![code style: penere](https://img.shields.io/badge/code_style-penere-ffaa00.svg?style=flat-square)](https://github.com/ditojs/penere)

Contributing

See CONTRIBUTING.md.

About

Penere is now prettier-plugin-penere: https://github.com/ditojs/prettier-plugin-penere

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages