mirror of
https://github.com/home-assistant/core.git
synced 2025-04-19 14:57:52 +00:00
Bump prettier to v2.6.1 and enable on CI (#68877)
This commit is contained in:
parent
3cccb948a1
commit
93706ca21a
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -435,6 +435,11 @@ jobs:
|
||||
. venv/bin/activate
|
||||
pre-commit run --hook-stage manual check-json --all-files
|
||||
|
||||
- name: Run prettier
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
pre-commit run --hook-stage manual prettier --all-files
|
||||
|
||||
- name: Register check executables problem matcher
|
||||
run: |
|
||||
echo "::add-matcher::.github/workflows/matchers/check-executables-have-shebangs.json"
|
||||
|
@ -65,10 +65,9 @@ repos:
|
||||
hooks:
|
||||
- id: yamllint
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.2.1
|
||||
rev: v2.6.1
|
||||
hooks:
|
||||
- id: prettier
|
||||
stages: [manual]
|
||||
- repo: https://github.com/cdce8p/python-typing-update
|
||||
rev: v0.3.5
|
||||
hooks:
|
||||
|
@ -2,4 +2,3 @@
|
||||
azure-*.yml
|
||||
docs/source/_templates/*
|
||||
homeassistant/components/*/translations/*.json
|
||||
tests/fixtures/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user