Skip to content

Commit 93706ca

Browse files
authored
Bump prettier to v2.6.1 and enable on CI (home-assistant#68877)
1 parent 3cccb94 commit 93706ca

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,11 @@ jobs:
435435
. venv/bin/activate
436436
pre-commit run --hook-stage manual check-json --all-files
437437
438+
- name: Run prettier
439+
run: |
440+
. venv/bin/activate
441+
pre-commit run --hook-stage manual prettier --all-files
442+
438443
- name: Register check executables problem matcher
439444
run: |
440445
echo "::add-matcher::.github/workflows/matchers/check-executables-have-shebangs.json"

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ repos:
6565
hooks:
6666
- id: yamllint
6767
- repo: https://github.com/pre-commit/mirrors-prettier
68-
rev: v2.2.1
68+
rev: v2.6.1
6969
hooks:
7070
- id: prettier
71-
stages: [manual]
7271
- repo: https://github.com/cdce8p/python-typing-update
7372
rev: v0.3.5
7473
hooks:

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
azure-*.yml
33
docs/source/_templates/*
44
homeassistant/components/*/translations/*.json
5-
tests/fixtures/*

0 commit comments

Comments
 (0)