Skip to content
This repository has been archived by the owner. It is now read-only.

prettier/pre-commit

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Prettier support for pre-commit has been moved into https://github.com/pre-commit/mirrors-prettier.

Prettier Mirror

Build Status code style: prettier

Mirror of Prettier package for pre-commit.

Usage

Using Prettier with pre-commit

Add this to your .pre-commit-config.yaml:

- repo: https://github.com/prettier/pre-commit
  rev: main
  hooks:
    - id: prettier

Versions

If you want use specific version of Prettier, use rev:

- repo: https://github.com/prettier/pre-commit
  # Use the sha or branch you want to point at
  rev: v2.0.0
  hooks:
    - id: prettier

All available versions can be found here.

If you can't find the version you want, please open an issue.

About

Mirror of Prettier package for pre-commit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published