0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00
wagtail/.pre-commit-config.yaml
Thibaud Colas 11ccf30f00
Add Prettier configuration & documentation (#7908)
- Install Prettier
- Add Prettier configuration
- Add git-blame-ignore-revs
- Clean up .editorconfig indent_style definition
- Clean up .editorconfig space definitions
- Add documentation for Prettier
- Add missing Prettier run-scripts
- Disable Prettier formatting in CI for now
2022-02-04 11:45:08 +00:00

21 lines
536 B
YAML

default_language_version:
node: system
repos:
- repo: https://github.com/timothycrosley/isort
# isort config is in setup.cfg
rev: 5.6.4
hooks:
- id: isort
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
# flake8 config is in setup.cfg
rev: 3.8.4
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
types_or: [css, scss, javascript, ts, tsx, json, yaml]