All Projects → prettier → Prettier

prettier / Prettier

Licence: mit
Prettier is an opinionated code formatter.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
CSS
56736 projects
HTML
75241 projects
SCSS
7915 projects
Less
1899 projects

Projects that are alternatives of or similar to Prettier

Vscode Stylelint
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 260 (-99.37%)
Mutual labels:  markdown, scss, less, jsx
Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (-99.59%)
Mutual labels:  json, scss, less, jsx
Plugin Php
Prettier PHP Plugin
Stars: ✭ 1,243 (-97%)
Mutual labels:  prettier, printer, formatter
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-99.55%)
Mutual labels:  graphql, json, yaml
Feedparser
feedparser gem - (universal) web feed parser and normalizer (XML w/ Atom or RSS, JSON Feed, HTML w/ Microformats e.g. h-entry/h-feed or Feed.HTML, Feed.TXT w/ YAML, JSON or INI & Markdown, etc.)
Stars: ✭ 156 (-99.62%)
Mutual labels:  json, markdown, yaml
Dprint
Pluggable and configurable code formatting platform written in Rust.
Stars: ✭ 610 (-98.53%)
Mutual labels:  json, markdown, formatter
Graphql Factory
A toolkit for building GraphQL
Stars: ✭ 44 (-99.89%)
Mutual labels:  graphql, ast, json
Stylelint
A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
Stars: ✭ 9,350 (-77.42%)
Mutual labels:  markdown, scss, less
Prettier Package Json
Prettier formatter for package.json files
Stars: ✭ 86 (-99.79%)
Mutual labels:  prettier, printer, json
Python Training For Network Engineers
Python hands-on training for network engineers. How to automate Junos with Python
Stars: ✭ 92 (-99.78%)
Mutual labels:  json, yaml
Metayaml
A powerful schema validator!
Stars: ✭ 92 (-99.78%)
Mutual labels:  json, yaml
Yq
Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
Stars: ✭ 1,688 (-95.92%)
Mutual labels:  json, yaml
Api Client Generator
Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
Stars: ✭ 92 (-99.78%)
Mutual labels:  json, yaml
Babel Plugin React Persist
Automatically useCallback() & useMemo(); memoize inline functions
Stars: ✭ 91 (-99.78%)
Mutual labels:  ast, jsx
Night Config
Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations
Stars: ✭ 93 (-99.78%)
Mutual labels:  json, yaml
React Atomic Structure
Basic Structure for React app following Atomic Design
Stars: ✭ 89 (-99.79%)
Mutual labels:  scss, jsx
Swurg
Parse OpenAPI documents into Burp Suite for automating OpenAPI-based APIs security assessments (approved by PortSwigger for inclusion in their official BApp Store).
Stars: ✭ 94 (-99.77%)
Mutual labels:  json, yaml
Dataformsjs
🌟 DataFormsJS 🌟 A minimal JavaScript Framework and standalone React and Web Components for rapid development of high quality websites and single page applications.
Stars: ✭ 95 (-99.77%)
Mutual labels:  markdown, jsx
Jsx Ast Utils
AST utility module for statically analyzing JSX
Stars: ✭ 89 (-99.79%)
Mutual labels:  ast, jsx
Swagger Merger
🔗 Merge multiple swagger files into a swagger file, support JSON/YAML.
Stars: ✭ 94 (-99.77%)
Mutual labels:  json, yaml

Prettier Banner

Opinionated Code Formatter

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

Github Actions Build Status Github Actions Build Status Github Actions Build Status Codecov Coverage Status Blazing Fast
npm version weekly downloads from npm code style: prettier Chat on Gitter Follow Prettier on Twitter

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 Prettiercode 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].