GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - prettier/prettier: Prettier is an opinionated code formatter.

BranchesTags
Open more actions menu

Latest commit

 

History

12,166 Commits
12,166 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
.yarn
.yarn
 
 
benchmarks
benchmarks
 
 
bin
bin
 
 
changelog_unreleased
changelog_unreleased
 
 
docs
docs
 
 
packages
packages
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
types/angular-html-parser
types/angular-html-parser
 
 
vendors
vendors
 
 
website
website
 
 
.codecov.yml
.codecov.yml
 
 
.editorconfig
.editorconfig
 
 
.git-blame-ignore-revs
.git-blame-ignore-revs
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.ignore
.ignore
 
 
.prettierignore
.prettierignore
 
 
.yarnrc.yml
.yarnrc.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
FUNDING.json
FUNDING.json
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
commands.md
commands.md
 
 
cspell.json
cspell.json
 
 
eslint.config.js
eslint.config.js
 
 
index.js
index.js
 
 
jest.config.js
jest.config.js
 
 
knip.config.js
knip.config.js
 
 
netlify.toml
netlify.toml
 
 
package.json
package.json
 
 
prettier.config.js
prettier.config.js
 
 
puppeteer.config.cjs
puppeteer.config.cjs
 
 
standalone.js
standalone.js
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Prettier Banner

Opinionated Code Formatter

JavaScript · TypeScript · Flow · JSX · JSON
CSS · SCSS · Less
HTML · Vue · Angular
GraphQL · Markdown · YAML
Your favorite language?

CI Status Coverage Status Blazing Fast
npm version weekly downloads from npm code style: prettier Follow Prettier on X

Intro

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.

Input

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

Output

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

Prettier 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 Prettier → code style: prettier

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

Contributing

See CONTRIBUTING.md.

About

Prettier is an opinionated code formatter.

prettier.io

Topics

angularastcssflowformattergraphqlhtmljavascriptjsonjsxlessmarkdownprettierprinterscsstypescriptvueyaml

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

52.5k stars

Watchers

432 watching

Forks

5.1k forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.