Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pre-commit/mirrors-prettier
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.0
Choose a base ref
...
head repository: pre-commit/mirrors-prettier
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.0-alpha.4
Choose a head ref
  • 8 commits
  • 3 files changed
  • 3 contributors

Commits on Nov 30, 2023

  1. Copy the full SHA
    88c8f8b View commit details
  2. Copy the full SHA
    f044a89 View commit details

Commits on Dec 1, 2023

  1. Copy the full SHA
    bacd74b View commit details
  2. 1
    Copy the full SHA
    1bedde2 View commit details

Commits on Dec 5, 2023

  1. Remove the --list-different option for 4.0.0 compatibility

    When using ``v4.0.0alpha3`` we now encounter the following error:
    
    ```
    The "--list-different" and "--write" flags cannot be used together
    ```
    
    ``pre-commit`` fails when a file is modified by an autofixxer so ``--list-different`` can be removed afaiu.
    Pierre-Sassoulas authored Dec 5, 2023
    Copy the full SHA
    a098bbe View commit details

Commits on Dec 7, 2023

  1. Merge pull request #51 from Pierre-Sassoulas/patch-2

    Remove the ``--list-different`` option for 4.0.0 compatibility
    asottile authored Dec 7, 2023
    Copy the full SHA
    409483b View commit details
  2. Mirror: 4.0.0-alpha.3

    asottile committed Dec 7, 2023
    Copy the full SHA
    00a717a View commit details

Commits on Dec 10, 2023

  1. Copy the full SHA
    fc6ac4e View commit details
Showing with 4 additions and 4 deletions.
  1. +1 −1 .github/workflows/main.yml
  2. +2 −2 .pre-commit-hooks.yaml
  3. +1 −1 .version
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ jobs:
- run: pip install pre-commit-mirror-maker
- run: git config --global user.name 'Github Actions'
- run: git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
- run: pre-commit-mirror . --language=node --package-name=prettier --types=text --entry='prettier --write --list-different --ignore-unknown' --id=prettier
- run: pre-commit-mirror . --language=node --package-name=prettier --types=text --entry='prettier --write --ignore-unknown' --id=prettier
- run: |
git remote set-url origin https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY
git push origin HEAD:refs/heads/main --tags
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
- id: prettier
name: prettier
description: ''
entry: prettier --write --list-different --ignore-unknown
entry: prettier --write --ignore-unknown
language: node
'types': [text]
args: []
require_serial: false
additional_dependencies: ["prettier@3.1.0"]
additional_dependencies: ["prettier@4.0.0-alpha.4"]
minimum_pre_commit_version: '0'
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
4.0.0-alpha.4