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